From 968b31cdff43d5978d355b5efed4ac688ef7f815 Mon Sep 17 00:00:00 2001
From: chrisgarrity <chrisg@media.mit.edu>
Date: Mon, 8 Jan 2018 15:19:53 -0500
Subject: [PATCH] Temporary message when the GUI has an unhandled error

temporary patch for #1205.
---
 src/containers/error-boundary.jsx | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/containers/error-boundary.jsx b/src/containers/error-boundary.jsx
index 7e8aa30e2..2a84f4b9f 100644
--- a/src/containers/error-boundary.jsx
+++ b/src/containers/error-boundary.jsx
@@ -35,7 +35,16 @@ class ErrorBoundary extends React.Component {
             } else {
                 return <WebGlModalComponent onBack={this.handleBack} />;
             }
-            return <h1>Something went wrong.</h1>;
+            return (
+                <div style={{margin: '2rem'}}>
+                    <h1>Oops! Something went wrong.</h1>
+                    <p>
+                        We are so sorry, but it looks like Scratch has crashed. This bug has been
+                        automatically reported to the Scratch Team. Please refresh your page to try
+                        again.
+                    </p>
+                </div>
+            );
         }
         return this.props.children;
     }
-- 
GitLab