debug: add try-catch around iframe render() to catch any JS errors
This commit is contained in:
@@ -436,7 +436,7 @@ body {
|
||||
if (msg.categories) state.categories = msg.categories;
|
||||
state.eventsLoaded = true;
|
||||
state.panelReady = true;
|
||||
render();
|
||||
try { render(); } catch(e) { try { window.parent.go.main.App.WriteDebugLog('[iframe] render error: ' + String(e) + ' ' + JSON.stringify({message: e.message, stack: e.stack?.substring(0,200)})); } catch(e2) {} }
|
||||
break;
|
||||
|
||||
case 'drop':
|
||||
|
||||
Reference in New Issue
Block a user