diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-05-18 20:32:01 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 12:11:56 -0300 |
commit | 73a79bcdcb8c590c3e670f32960c26a8829801f8 (patch) | |
tree | 8924dc09534ba8dc5a1d3e3a08e37c3cf74192e3 | |
parent | d328d7a7969256cabe160fb8a4bffc7fafa3ae25 (diff) |
client: report unhandled promise rejections in search worker
-rw-r--r-- | src/static/js/search-worker.js | 1 |
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([ |