We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2caf4ef + 6830d9f commit 3491ad6Copy full SHA for 3491ad6
2 files changed
browser.js
@@ -53,7 +53,11 @@ function useColors() {
53
*/
54
55
exports.formatters.j = function(v) {
56
- return JSON.stringify(v);
+ try {
57
+ return JSON.stringify(v);
58
+ }catch( err){
59
+ return '[UnexpectedJSONParseError]: ' + err.message;
60
+ }
61
};
62
63
dist/debug.js
@@ -379,7 +379,11 @@ function useColors() {
379
380
381
382
383
384
385
386
387
388
389
0 commit comments