Replies: 1 comment
-
This should be well documented: It's been a while, but you should be able to rename the branch so there isn't a trap bound to it, and any exceptions will carry on. There is also a |
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
-
Hi @cwensel,
I have a case in my Cascading flow where I want to fail the entire job at a certain step, and am doing so by throwing a
RuntimeException
.This works in most cases, but I have noticed that when I have a trap defined on an earlier step in the pipe, the
RuntimeException
I am throwing is rethrown and caught by the trap handler at an earlier point in the pipe. This is actually resulting in a more obscure error in my job output, but my concern is that there could be cases where the trap handler actually writes unexpectedly to my sink location.Is this expected trap behaviour, and if so is there a way I am meant to be failing a job when there is a trap defined on an earlier pipe step?
Beta Was this translation helpful? Give feedback.
All reactions