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

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-10-03 14:13:23 -07:00 committed by Tim Abbott
parent 549bae5176
commit 3e4def9c88
1 changed files with 2 additions and 1 deletions

View File

@ -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();