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:
Alex Vandiver
2023-04-24 13:57:45 +00:00
committed by Tim Abbott
parent 1769f981da
commit 64b277d845
60 changed files with 148 additions and 169 deletions

View File

@@ -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;