-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
I use componentDidCatch to send error, like in the new documentation. But I receive 2 errors: one is from componentDidCatch and another is sent from somewhere another place. Can I disable autosend errors?
componentDidCatch(error, errorInfo) {
this.setState({ error });
Sentry.configureScope(scope => {
Object.keys(errorInfo).forEach(key => {
scope.setExtra(key, errorInfo[key]);
});
});
Sentry.captureException(error);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
