From a3b8a917aad284a5c34ad0c5ed64cdb373d050e3 Mon Sep 17 00:00:00 2001
From: Ray Schamp <ray@scratch.mit.edu>
Date: Thu, 12 Apr 2018 09:39:15 -0400
Subject: [PATCH] Remove the redundant error line

The error message is included in the first line of the stack
---
 src/containers/error-boundary.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/containers/error-boundary.jsx b/src/containers/error-boundary.jsx
index e1a740613..1fdd25e17 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}\n${error.stack}\nComponent stack: ${info.componentStack}`);
+        log.error(`Unhandled Error: ${error.stack}\nComponent stack: ${info.componentStack}`);
         analytics.event({
             category: 'error',
             action: 'Fatal Error',
-- 
GitLab