diff --git a/src/containers/error-boundary.jsx b/src/containers/error-boundary.jsx index 4c473a7374a05e14b4f99772a499e72a1f8f8eb3..1fdd25e174d4677711ec6905bc147371703eb968 100644 --- a/src/containers/error-boundary.jsx +++ b/src/containers/error-boundary.jsx @@ -17,7 +17,7 @@ class ErrorBoundary extends React.Component { componentDidCatch (error, info) { // Display fallback UI this.setState({hasError: true}); - log.error(`Unhandled Error: ${error}, info: ${info}`); + log.error(`Unhandled Error: ${error.stack}\nComponent stack: ${info.componentStack}`); analytics.event({ category: 'error', action: 'Fatal Error',