mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Stop reporting to Sentry NodeApiError with 5xx status codes (no-changelog) (#9552)
This commit is contained in:
@@ -188,11 +188,7 @@ export class NodeApiError extends NodeError {
|
|||||||
this.findProperty(errorResponse, ERROR_STATUS_PROPERTIES, ERROR_NESTING_PROPERTIES) ?? null;
|
this.findProperty(errorResponse, ERROR_STATUS_PROPERTIES, ERROR_NESTING_PROPERTIES) ?? null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (level) {
|
this.level = level ?? 'warning';
|
||||||
this.level = level;
|
|
||||||
} else if (this.httpCode?.charAt(0) !== '5') {
|
|
||||||
this.level = 'warning';
|
|
||||||
}
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
errorResponse?.response &&
|
errorResponse?.response &&
|
||||||
|
|||||||
Reference in New Issue
Block a user