Skip to content
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

Don't call done_callback if Promise raises an exception. #2544

Merged
merged 3 commits into from
Jun 5, 2021

Conversation

starry-shivam
Copy link
Member

Closes #2542

Signed-off-by: starry69 <starry369126@outlook.com>
telegram/ext/filters.py Outdated Show resolved Hide resolved
telegram/ext/utils/promise.py Outdated Show resolved Hide resolved
starry-shivam and others added 2 commits June 5, 2021 18:20
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
Copy link
Member

@Bibo-Joshi Bibo-Joshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest looks good 🙂

@Bibo-Joshi Bibo-Joshi merged commit 46cdeb4 into master Jun 5, 2021
@Bibo-Joshi Bibo-Joshi deleted the fix-promise branch June 5, 2021 15:08
sakibguy added a commit to sakibguy/python-telegram-bot that referenced this pull request Jun 6, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jun 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] promise mistreats pooled_function exceptions as done_callback exceptions
3 participants