« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/js/search-worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/search-worker.js')
-rw-r--r--src/static/js/search-worker.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/static/js/search-worker.js b/src/static/js/search-worker.js
index 24412b22..166be2a2 100644
--- a/src/static/js/search-worker.js
+++ b/src/static/js/search-worker.js
@@ -13,6 +13,10 @@ postStatus('alive');
 main().then(
   () => {
     postStatus('ready');
+  },
+  error => {
+    console.error(`Search worker setup error:`, error);
+    postStatus('setup-error');
   });
 
 async function main() {