Skip to content
Snippets Groups Projects
Commit a3b8a917 authored by Ray Schamp's avatar Ray Schamp
Browse files

Remove the redundant error line

The error message is included in the first line of the stack
parent cd4a055b
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ class ErrorBoundary extends React.Component {
componentDidCatch (error, info) {
// Display fallback UI
this.setState({hasError: true});
log.error(`Unhandled Error: ${error}\n${error.stack}\nComponent stack: ${info.componentStack}`);
log.error(`Unhandled Error: ${error.stack}\nComponent stack: ${info.componentStack}`);
analytics.event({
category: 'error',
action: 'Fatal 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