diff --git a/src/containers/error-boundary.jsx b/src/containers/error-boundary.jsx index fb7cfca1c..0df13ea1a 100644 --- a/src/containers/error-boundary.jsx +++ b/src/containers/error-boundary.jsx @@ -39,7 +39,10 @@ class ErrorBoundary extends React.Component { } // report every error in the console - log.error(`Unhandled Error: ${error.stack}\nComponent stack: ${errorInfo.componentStack}`); + log.error([ + `Unhandled Error with action='${this.props.action}': ${error.stack}`, + `Component stack: ${errorInfo.componentStack}` + ].join('\n')); } handleBack () {