mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: Disable some error tracking (#4579)
* fix: remove error tracking for Circular reference in deepCopy * fix: remove error tracking on crash detection
This commit is contained in:
committed by
GitHub
parent
2ce747fa01
commit
b2201d0c77
@@ -1,5 +1,3 @@
|
||||
import * as ErrorReporter from './ErrorReporterProxy';
|
||||
|
||||
export type Primitives = string | number | boolean | bigint | symbol | null | undefined;
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-argument */
|
||||
@@ -19,9 +17,6 @@ export const deepCopy = <T extends ((object | Date) & { toJSON?: () => string })
|
||||
return source.toJSON() as T;
|
||||
}
|
||||
if (hash.has(source)) {
|
||||
ErrorReporter.warn('Circular reference detected', {
|
||||
extra: { source, path },
|
||||
});
|
||||
return hash.get(source);
|
||||
}
|
||||
// Array
|
||||
|
||||
Reference in New Issue
Block a user