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:
parent
f384d4e5c1
commit
e905abe5ce
3 changed files with 10 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue