How to extract node's error message

Hello.

Is it possible that node’s error message and console’s error message are different?

As you know node’s error message is uncomfortable to see.

But somtimes node’s error message and console’s error message are different.

I’d appreciate it if you could tell me how to extract node’s error message usefully.

Thanks,
hhkim

Hi @hhkim,
I think the console should display the node’s error messages. Have you experienced any differences?

If you want to extract the error message of a node, one way that comes up to mind is to use a Try-Catch block. The Catch node collects the error of the failing node in the FailingNodeMessage flow variable. See the image below and the attached workflow.


extract-error-message.knwf (15.0 KB)

Was this helpful?

Cheers,
Emilio

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.