mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
chore(core): Stop reporting to Sentry execution cancellations (#11347)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user