From 7e9331987310e11d27e7565a7bebdcfbcb19a2c8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 3 Mar 2021 00:25:13 +0900 Subject: wip: better error handling --- src/client/init.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client') 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!!!'); -- cgit v1.2.3-freya