Skip to content

Commit 12165c4

Browse files
committed
fix: revised unsavedChildren.js message
1 parent 21f14c2 commit 12165c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unsavedChildren.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function traverse(
5656
counter++;
5757

5858
if (counter > MAX_RECURSIVE_CALLS) {
59-
const message = 'Maximum recursive calls exceeded in traverse function. Potential infinite recursion detected.';
59+
const message = 'Traversing object failed due to high number of recursive calls, likely caused by circular reference within object.';
6060
console.error(message);
6161
console.error('Object causing potential infinite recursion:', obj);
6262
console.error('Encountered objects:', encountered);

0 commit comments

Comments
 (0)