summaryrefslogtreecommitdiff
path: root/src/client/init.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2021-03-03 00:25:13 +0900
committersyuilo <syuilotan@yahoo.co.jp>2021-03-03 00:25:13 +0900
commit7e9331987310e11d27e7565a7bebdcfbcb19a2c8 (patch)
treeeeea420dd554cd94475a4383dacb8af6e9602e9d /src/client/init.ts
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadsharkey-7e9331987310e11d27e7565a7bebdcfbcb19a2c8.tar.gz
sharkey-7e9331987310e11d27e7565a7bebdcfbcb19a2c8.tar.bz2
sharkey-7e9331987310e11d27e7565a7bebdcfbcb19a2c8.zip
wip: better error handling
Diffstat (limited to 'src/client/init.ts')
-rw-r--r--src/client/init.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/init.ts b/src/client/init.ts
index 6a539a0e1d..b3c53db7bb 100644
--- a/src/client/init.ts
+++ b/src/client/init.ts
@@ -67,6 +67,7 @@ console.info(`Misskey v${version}`);
// boot.jsのやつを解除
window.onerror = null;
+window.onunhandledrejection = null;
if (_DEV_) {
console.warn('Development mode!!!');