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

Some actions should propogate exceptions #426

Open
thedrow opened this issue Jul 31, 2019 · 1 comment
Open

Some actions should propogate exceptions #426

thedrow opened this issue Jul 31, 2019 · 1 comment

Comments

@thedrow
Copy link

thedrow commented Jul 31, 2019

I have a task and actions in it.
I'd like to fail the task when one of the actions fail.

Currently, the context manager catches all exceptions which is prevents such behaviour.

In addition, when using a trio nursery you'd want to raise exceptions so that we will not proceed if we don't want to.

@itamarst
Copy link
Owner

I'm guessing #427 was a proposed solution?

Just so I understand the use case better, could you share some sample code demonstrating what you're trying to do?

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

No branches or pull requests

2 participants