diff --git a/apps/widhid/wid.ts b/apps/widhid/wid.ts index fa81021e1..ed6c7b02e 100644 --- a/apps/widhid/wid.ts +++ b/apps/widhid/wid.ts @@ -179,7 +179,11 @@ if(handlers) for(const handler of handlers) - Bangle.on(event as any, handler); + try{ + Bangle.on(event as any, handler); + }catch(e){ + console.log(`couldn't restore "${event}" handler:`, e); + } } }; })()