-
Notifications
You must be signed in to change notification settings - Fork 5.7k
[BUG] Promise ignores exceptions #3201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey, thanks for the issue and providing an example. I can confirm that the error doesn't show up. V13 however is basically on a bot api updates only version, on top of message queue being depreciated. We actually took a lot of time and implemented #3148 for the V20 update, so I do not think we will fix this. |
Hi. |
Oh, you mean edit it into the first line if known bugs? |
Yes:) |
Cool, updated it. I will close this as the others as wont fix I guess. |
Steps to Reproduce
This bug has already been catched and fixed - #2542
But it still exists.
Here is the code. Run it and send
/bug
command to the bot and you will see nothing in console, but I expect traceback to appear.Expected behaviour
Exception is catched.
Actual behaviour
Exception is eaten up by Promise and never show up.
Operating System
Windows 10
Version of Python, python-telegram-bot & dependencies
Relevant log output
No response
Additional Context
I'm using Promises within MessageQueue. I know that it is deprecated, but I think that at least this issue is worth mentioning here #2139
The text was updated successfully, but these errors were encountered: