refactor(core): Stop reporting EAUTH error codes to Sentry (no-changelog) (#9496)

This commit is contained in:
Iván Ovejero
2024-05-23 15:12:01 +02:00
committed by GitHub
parent 8737c0965e
commit f8683c31e0
4 changed files with 49 additions and 9 deletions

View File

@@ -92,13 +92,7 @@ export class ActiveWorkflows {
throw new WorkflowActivationError(
`There was a problem activating the workflow: "${error.message}"`,
{
cause: error,
node: triggerNode,
level: ['ETIMEDOUT', 'ECONNREFUSED'].some((code) => error.message.includes(code))
? 'warning'
: 'error',
},
{ cause: error, node: triggerNode },
);
}
}