mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +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
@@ -86,7 +86,7 @@ function get_sub_for_target(target) {
|
||||
|
||||
const sub = sub_store.get(stream_id);
|
||||
if (!sub) {
|
||||
blueslip.error("get_sub_for_target() failed id lookup: " + stream_id);
|
||||
blueslip.error("get_sub_for_target() failed id lookup", {stream_id});
|
||||
return undefined;
|
||||
}
|
||||
return sub;
|
||||
|
||||
Reference in New Issue
Block a user