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

fix: Catch CancelledError/Exception in start() #852

Merged
merged 1 commit into from Jun 12, 2022
Merged

fix: Catch CancelledError/Exception in start() #852

merged 1 commit into from Jun 12, 2022

Conversation

V3ntus
Copy link
Contributor

@V3ntus V3ntus commented Jun 12, 2022

About

Catch and reraise exceptions that occur in Client.start(). I honestly don't know why exceptions weren't getting raised beforehand, but this now allows you to cancel the task.

Checklist

  • I've ran pre-commit to format and lint the change(s) made.
  • I've checked to make sure the change(s) work on 3.8.6 and higher.
  • This fixes/solves an Issue.
    • (If existent):
  • I've made this pull request for/as: (check all that apply)
    • Documentation
    • Breaking change
    • New feature/enhancement
    • Bugfix

@EdVraz EdVraz enabled auto-merge (squash) June 12, 2022 22:02
@V3ntus
Copy link
Contributor Author

V3ntus commented Jun 12, 2022

Messed up my commit, oopsies. Change is valid though

@EdVraz EdVraz merged commit a83ddf4 into interactions-py:unstable Jun 12, 2022
@Toricane Toricane changed the title Catch CancelledError/Exception in start() fix: Catch CancelledError/Exception in start() Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants