fix: Remove duplicate error reporting for endpoints (no-changelog) (#11959)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Mutasem Aldmour
2024-12-02 19:34:42 +01:00
committed by GitHub
parent f258cebe53
commit fb5cf4beea
14 changed files with 95 additions and 27 deletions

View File

@@ -762,7 +762,7 @@ export async function executeWebhook(
);
}
const internalServerError = new InternalServerError(e.message);
const internalServerError = new InternalServerError(e.message, e);
if (e instanceof ExecutionCancelledError) internalServerError.level = 'warning';
throw internalServerError;
});