How runs error trigger node?

Describe the issue/error/question

I want to practice with the Error Trigger Node. But I cannot check how to use it. I have read the documentation but it hasn’t been very clear for me. I try to capture with console.log the error message but nothing appears into the console.

What is the error message (if any)?

N/A

Please share the workflow

I have 2 workflows:

  • ERROR TRIGGER MAIN:
  • ERROR TRIGGER SOURCE:

“Error Trigger Main” workflow is activated.
“Error Trigger Source” workflow is activated and it has as error workflow the “Error Trigger Main” workflow:

Share the output returned by the last node

I want to capture the error.

Information on your n8n setup

  • **n8n version:**0.182.0
  • Database you’re using (default: SQLite): N/A
  • Running n8n with the execution process [own(default), main]: own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: desktop app

Hi @franchogarcia, you might want to simplify things a bit and create a single error flow for all your workflows (seeing the error handling seems to be the same). For a full introduction into the topic check out our blog post at Creating error workflows in n8n – n8n Blog

If you use console.log in a production execution, this would go into the server log and thus would not be visible in the browser console. So you might want to consider sending yourself an email with the error details in your error flow instead. It’s what I usually do, along with a link to the failed execution in case I want to investigate the error in more detail:

1 Like

As usual you are the best @MutedJam !!!
Thank you very much for your help!! This blog is more clear! Now it is running!

This community is amazing!! Thank you very much for your time!

1 Like

You are most welcome :smiling_face:

1 Like