Add label to rageshakes for React soft crashes
This adds a label all rageshakes submitted via the React error boundary marking them as soft crashes for triage. Fixes https://github.com/vector-im/riot-web/issues/11072
This commit is contained in:
@@ -64,7 +64,9 @@ export default class ErrorBoundary extends React.PureComponent {
|
||||
if (!BugReportDialog) {
|
||||
return;
|
||||
}
|
||||
Modal.createTrackedDialog('Bug Report Dialog', '', BugReportDialog, {});
|
||||
Modal.createTrackedDialog('Bug Report Dialog', '', BugReportDialog, {
|
||||
label: 'react-soft-crash',
|
||||
});
|
||||
};
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user