Skip to content

Commit

Permalink
πŸ› Don't mess with Error representation in devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
skerit committed Apr 21, 2024
1 parent 1e3a41f commit 99d7f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ window.devtoolsFormatters = [{
}

// Also ignore the builtin types
if (arg instanceof Map || arg instanceof Set || Array.isArray(arg)) {
if (arg instanceof Map || arg instanceof Set || Array.isArray(arg) || arg instanceof Error) {
return null;
}

Expand Down

0 comments on commit 99d7f5d

Please sign in to comment.