mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(core): Avoid wrapping ExecutionBaseError
to prevent misreporting to Sentry (no-changelog) (#8262)
This commit is contained in:
parent
3b996a7da0
commit
055cc785fd
|
@ -1805,6 +1805,8 @@ export async function requestWithAuthentication(
|
|||
}
|
||||
throw error;
|
||||
} catch (error) {
|
||||
if (error instanceof ExecutionBaseError) throw error;
|
||||
|
||||
throw new NodeApiError(this.getNode(), error);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue