mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +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
@@ -163,7 +163,7 @@ export function create_message_object() {
|
||||
// user started composing to the old stream name and
|
||||
// manually entered the stream name, and it got past
|
||||
// validation. We should try to kill this code off eventually.
|
||||
blueslip.error("Trying to send message with bad stream name: " + stream_name);
|
||||
blueslip.error("Trying to send message with bad stream name", {stream_name});
|
||||
message.to = stream_name;
|
||||
}
|
||||
message.topic = topic;
|
||||
|
||||
Reference in New Issue
Block a user