mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Avoid wrapping ExecutionBaseError to prevent misreporting to Sentry (no-changelog) (#8262)
This commit is contained in:
@@ -1805,6 +1805,8 @@ export async function requestWithAuthentication(
|
|||||||
}
|
}
|
||||||
throw error;
|
throw error;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
if (error instanceof ExecutionBaseError) throw error;
|
||||||
|
|
||||||
throw new NodeApiError(this.getNode(), error);
|
throw new NodeApiError(this.getNode(), error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user