This node forwards the input from the first port if the execution was successful. If execution on the top branch failed (and a matching try node was connected before the failing node!) then the input from the second port will be forwarded and the second variable outport will contain information about the observed error.
When the upstream branch fails, the following flow variables are pushed on the output:
- FailingNode - the name of the failing node (or its enclosing component when a node inside a component fails).
- FailingNodeMessage - the failure message as shown in the node monitor. For failures inside (nested) components this is shortened to the first level of nesting so the message stays compact.
- FailingNodeDetails - detailed error information for the failing node and nested components. Can be exported as JSON when the Export details as JSON option is enabled. Use this variable when detailed error inspection is needed for logging or root-cause analysis.
- FailingNodeStackTrace - the JVM stack trace of the underlying exception, if available.