Remove error message from event_label.
The event_label is meant for rough classification, it should also not
contain any potentially sensitive information. Error message on the
other hand is freeform and can often contain user input.
Google-Bug-Id: b/250822247
Release-Notes: skip
Change-Id: Idc0e3ae77b0cd5bc5d5d3c98156979e2159ddb7a
diff --git a/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts b/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
index 96a2aba..cd42a9f 100644
--- a/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
+++ b/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
@@ -1756,6 +1756,7 @@
return 'No additions to the attention set.';
}
this.reporting.error(
+ 'computeDoNotUpdateMessage',
new Error(
'computeDoNotUpdateMessage()' +
'should not be called when users were added to the attention set.'
@@ -1829,6 +1830,7 @@
entry = suggestion.group;
} else {
this.reporting.error(
+ 'Reviewer Suggestion',
new Error(`Suggestion is neither account nor group: ${suggestion}`)
);
return false;
@@ -1935,6 +1937,7 @@
return;
}
this.reporting.error(
+ 'confirmPendingReviewer',
new Error('confirmPendingReviewer called without pending confirm')
);
}