From 8190bf63ea9ae0c4f71c72e5818ce5197ec49113 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 3 May 2024 16:21:32 -0300 Subject: client: report errors setting up search worker --- src/static/js/search-worker.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/static/js/search-worker.js') 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() { -- cgit 1.3.0-6-gf8a5