mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
chore(core): Stop reporting to Sentry execution cancellations (#11347)
This commit is contained in:
parent
43f31b86aa
commit
fb3518fcb8
|
@ -35,6 +35,7 @@ import {
|
|||
createDeferredPromise,
|
||||
ErrorReporterProxy as ErrorReporter,
|
||||
ErrorReporterProxy,
|
||||
ExecutionCancelledError,
|
||||
FORM_NODE_TYPE,
|
||||
NodeHelpers,
|
||||
NodeOperationError,
|
||||
|
@ -756,7 +757,9 @@ export async function executeWebhook(
|
|||
);
|
||||
}
|
||||
|
||||
throw new InternalServerError(e.message);
|
||||
const internalServerError = new InternalServerError(e.message);
|
||||
if (e instanceof ExecutionCancelledError) internalServerError.level = 'warning';
|
||||
throw internalServerError;
|
||||
});
|
||||
}
|
||||
return executionId;
|
||||
|
|
Loading…
Reference in a new issue