chore(core): Stop reporting to Sentry execution cancellations (#11347)

This commit is contained in:
Iván Ovejero
2024-10-22 17:27:07 +02:00
committed by GitHub
parent 43f31b86aa
commit fb3518fcb8

View File

@@ -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;