mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
fix(core): Do not report to Sentry trigger activation errors from ETIMEDOUT or ECONNREFUSED (no-changelog) (#9379)
This commit is contained in:
@@ -92,7 +92,13 @@ export class ActiveWorkflows {
|
||||
|
||||
throw new WorkflowActivationError(
|
||||
`There was a problem activating the workflow: "${error.message}"`,
|
||||
{ cause: error, node: triggerNode },
|
||||
{
|
||||
cause: error,
|
||||
node: triggerNode,
|
||||
level: ['ETIMEDOUT', 'ECONNREFUSED'].some((code) => error.message.includes(code))
|
||||
? 'warning'
|
||||
: 'error',
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user