mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
F###, forgot to put await
This commit is contained in:
parent
6e8abc709e
commit
fbb9a73fc0
@ -322,7 +322,7 @@ class AsyncTeleBot:
|
|||||||
logger.error("You are passing more data than the handler needs. Check your handler: {}".format(handler['function']))
|
logger.error("You are passing more data than the handler needs. Check your handler: {}".format(handler['function']))
|
||||||
return
|
return
|
||||||
|
|
||||||
handler["function"](message, **data_copy)
|
await handler["function"](message, **data_copy)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
handler_error = e
|
handler_error = e
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user