We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15641c2 commit a73c4f9Copy full SHA for a73c4f9
1 file changed
main.py
@@ -19,9 +19,9 @@
19
logger = logging.getLogger(__name__)
20
21
# Logs telegram api errors
22
-async def error(update, context):
+def error(update, context):
23
"""Log Errors caused by Updates."""
24
- await logger.warning('Update "%s" caused error "%s"', update, context.error)
+ logger.warning('Update "%s" caused error "%s"', update, context.error)
25
26
27
def main():
0 commit comments