mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +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
@@ -432,10 +432,7 @@ test("catch_buggy_draft_error", () => {
|
||||
const draft_model = drafts.draft_model;
|
||||
|
||||
// An error is logged but the draft isn't fixed in this codepath.
|
||||
blueslip.expect(
|
||||
"error",
|
||||
"Cannot compare strings; at least one value is undefined: (undefined), old_topic",
|
||||
);
|
||||
blueslip.expect("error", "Cannot compare strings; at least one value is undefined");
|
||||
drafts.rename_stream_recipient(
|
||||
stream_B.stream_id,
|
||||
"old_topic",
|
||||
|
||||
Reference in New Issue
Block a user