From 73a79bcdcb8c590c3e670f32960c26a8829801f8 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 18 May 2024 20:32:01 -0300 Subject: client: report unhandled promise rejections in search worker --- src/static/js/search-worker.js | 1 + 1 file changed, 1 insertion(+) (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 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([ -- cgit 1.3.0-6-gf8a5