Skip to content
Snippets Groups Projects
Commit 4df56e41 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Include the action in the sentry report

parent 77fb9b67
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@ class ErrorBoundary extends React.Component {
Object.keys(info).forEach(key => {
scope.setExtra(key, info[key]);
});
scope.setExtra('action', this.props.action);
window.Sentry.captureException(error);
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment