How should panics be handled? #52
Unanswered
kirillsalykin
asked this question in
Q&A
Replies: 1 comment
-
I agree: as it stands, panics are simply not handled. I suspect we may want to try to catch panics so that we can set the state to failed--I haven't had the time to look into this.
How would you like this to pair with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently if task fails with a panic - it is stuck (eg it being retried and retried).
I would expect any panic should just mark task as
failed
.On related note, I think there should be a way to mark step as failed, like
To::failure()
Beta Was this translation helpful? Give feedback.
All reactions