« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/static/js/search-worker.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/static/js/search-worker.js b/src/static/js/search-worker.js
index 532dbb71..e79b5d66 100644
--- a/src/static/js/search-worker.js
+++ b/src/static/js/search-worker.js
@@ -27,6 +27,7 @@ let indexes = null;
 
 onmessage = handleWindowMessage;
 onerror = handleRuntimeError;
+onunhandledrejection = handleRuntimeError;
 postStatus('alive');
 
 Promise.all([