We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5b180d commit 2d025d5Copy full SHA for 2d025d5
1 file changed
utils/misc/global-state-diff/v2.0/global-state-diff-v2.0.html
@@ -128,7 +128,8 @@
128
{}
129
#values
130
131
-
+ #values.error
132
+ {color:red}
133
134
iframe
135
{display:none}
@@ -292,13 +293,15 @@ <h3>
292
293
console.log('window.onerror');
294
console.error(err);
295
$('#values').textContent = err.toString();
296
+ $('#values').classList.add('error');
297
298
}//onerror
299
300
301
win.onunhandledrejection = e=>{
302
console.warn(`UNHANDLED PROMISE REJECTION: ${e.reason}`);
303
$('#values').textContent = e.reason;
304
305
306
}//onunhandledrejection
307
@@ -307,6 +310,7 @@ <h3>
310
console.log('script.onerror');
308
311
309
312
313
314
315
316
0 commit comments