mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 12:44:07 -08:00
refactor: remove console.warn from deepCopy
(#4471)
Jan realized that this was logging way too much (as in, we have way too many circular references). I've changed this to be reported to Sentry, which should hopefully get merged next week.
This commit is contained in:
parent
658e886861
commit
818f57dd63
|
@ -8,7 +8,6 @@ export const deepCopy = <T>(source: T, hash = new WeakMap(), path = ''): T => {
|
|||
return source;
|
||||
}
|
||||
if (hash.has(source)) {
|
||||
console.warn(`Circular reference detected at "source${path}"`);
|
||||
return hash.get(source);
|
||||
}
|
||||
// Date
|
||||
|
|
Loading…
Reference in a new issue