mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 04:12:02 +00:00
blueslip: Reduce cardinality of blueslip.error() calls.
Particularly when grouping in Sentry, pushing the ids and such into the additional data section helps group like errors together better.
This commit is contained in:
committed by
Tim Abbott
parent
1769f981da
commit
64b277d845
@@ -94,7 +94,7 @@ function stream_popover_sub(e) {
|
||||
const stream_id = elem_to_stream_id($elem);
|
||||
const sub = sub_store.get(stream_id);
|
||||
if (!sub) {
|
||||
blueslip.error("Unknown stream: " + stream_id);
|
||||
blueslip.error("Unknown stream", {stream_id});
|
||||
return undefined;
|
||||
}
|
||||
return sub;
|
||||
|
||||
Reference in New Issue
Block a user