mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat: use ES2022 native error chaining to improve error reporting (#4431)
feat: use ES2022 native error chaining
This commit is contained in:
committed by
GitHub
parent
3a9684df9f
commit
1f610b90f6
@@ -717,8 +717,7 @@ export class ActiveWorkflowRunner {
|
||||
// Run Error Workflow if defined
|
||||
const activationError = new WorkflowActivationError(
|
||||
`There was a problem with the trigger node "${node.name}", for that reason did the workflow had to be deactivated`,
|
||||
error,
|
||||
node,
|
||||
{ cause: error, node },
|
||||
);
|
||||
this.executeErrorWorkflow(activationError, workflowData, mode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user