Skip to content

Commit

Permalink
fix(core): Avoid wrapping ExecutionBaseError to prevent misreportin…
Browse files Browse the repository at this point in the history
…g to Sentry (no-changelog) (#8262)
  • Loading branch information
ivov authored Jan 9, 2024
1 parent 3b996a7 commit 055cc78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/NodeExecuteFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1805,6 +1805,8 @@ export async function requestWithAuthentication(
}
throw error;
} catch (error) {
if (error instanceof ExecutionBaseError) throw error;

throw new NodeApiError(this.getNode(), error);
}
}
Expand Down

0 comments on commit 055cc78

Please sign in to comment.