diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/mv-overlay/js/main.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/support/mv-overlay/js/main.js b/support/mv-overlay/js/main.js index 56925cd..8f85b5e 100644 --- a/support/mv-overlay/js/main.js +++ b/support/mv-overlay/js/main.js @@ -11,6 +11,11 @@ var __RMV_OVERRIDE = [ // MV really doesn't want to use WebGL on mobile for some reason // Well at least recent androids should be fine shouldUseCanvasRenderer: () => false, + // Replace error handler, try chug on even if errors happen + onError: e => { + console.error(e.message) + if (e.filename || e.lineno) console.error(e.filename, e.lineno) + }, }}, ] PluginManager.setup($plugins); |