Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

narrow: Don’t swallow errors in narrow.activate.

Anders Kaseorg3e4def9c88db
diff --git a/web/src/narrow.js b/web/src/narrow.js
index 2d4f8272da6..2db6e72b199 100644
--- a/web/src/narrow.js
+++ b/web/src/narrow.js
@@ -592,8 +592,9 @@ export function activate(raw_operators, opts) {
post_span.finish();
span.finish();
}, 0);
- } catch {
+ } catch (error) {
span.setStatus("unknown_error");
+ throw error;
} finally {
if (do_close_span) {
span.finish();