mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
feat(core): Reduce the number of events sent to Sentry (#6235)
This commit is contained in:
committed by
GitHub
parent
9182d1558a
commit
a4c0cc9b5c
@@ -217,11 +217,13 @@ export class RoutingNode {
|
||||
returnData.push({ json: {}, error: error.message });
|
||||
continue;
|
||||
}
|
||||
if (error instanceof NodeApiError) error = error.cause;
|
||||
throw new NodeApiError(this.node, error, {
|
||||
runIndex,
|
||||
itemIndex: i,
|
||||
message: error?.message,
|
||||
description: error?.description,
|
||||
httpCode: error.isAxiosError && error.response && String(error.response?.status),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user