Skip to content

Commit 57fe620

Browse files
committed
shell: add debug output
1 parent 4e93eea commit 57fe620

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/shell/state.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ export class ShellState extends EventEmitter<ShellStateEvents> {
192192

193193
const old_onerror = window.onerror;
194194
window.onerror = (msg, url, line) => {
195+
console.log("onerror", msg, line);
195196
// Errors with url == "" are not logged apparently, so let's
196197
// not show the "Oops" for them either.
197198
if (url != "") {

0 commit comments

Comments
 (0)