mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +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
@@ -575,9 +575,9 @@ export function dispatch_normal_event(event) {
|
||||
stream_data.update_stream_email_address(sub, rec.email_address);
|
||||
stream_events.mark_subscribed(sub, rec.subscribers, rec.color);
|
||||
} else {
|
||||
blueslip.error(
|
||||
"Subscribing to unknown stream with ID " + rec.stream_id,
|
||||
);
|
||||
blueslip.error("Subscribing to unknown stream", {
|
||||
stream_id: rec.stream_id,
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user