mirror of https://github.com/zulip/zulip.git
narrow: Don’t swallow errors in narrow.activate.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
549bae5176
commit
3e4def9c88
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue