diff options
Diffstat (limited to 'src/static/js/search-worker.js')
-rw-r--r-- | src/static/js/search-worker.js | 4 |
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() { |