Describe the problem/error/question
Hi all, I have a “code node” that conditional do throw new Error(“errorMessage“), however from the code node output, the error message was not displayed. Instead it seems showing line number as error message.
Later on I have a response to webhook node for return the error message, how could I config the code node to return the right error mesage?
Workflow:
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:


