Skip to content

Commit 0a89a61

Browse files
committed
fix reason
1 parent f371c8b commit 0a89a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ window.addEventListener("error", (e) => {
44
log.error(e);
55
});
66
window.addEventListener("unhandledrejection", (e) => {
7-
log.error(e);
7+
log.error(e.reason);
88
});
99
// -------------------
1010

0 commit comments

Comments
 (0)