1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #1593 from coder2020official/master

Fixed previous fix 🤦‍♂️
This commit is contained in:
Badiboy 2022-06-29 12:58:43 +03:00 committed by GitHub
commit 3892b0fb80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -322,7 +322,7 @@ class AsyncTeleBot:
logger.error("You are passing more data than the handler needs. Check your handler: {}".format(handler['function']))
return
handler["function"](message, **data_copy)
await handler["function"](message, **data_copy)
except Exception as e:
handler_error = e