Skip to content
Snippets Groups Projects
Unverified Commit 6af0aee3 authored by chrisgarrity's avatar chrisgarrity Committed by GitHub
Browse files

Merge pull request #1208 from chrisgarrity/patch/gh1205-something-wrong

Temporary message when the GUI has an unhandled error
parents be6155f1 968b31cd
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,16 @@ class ErrorBoundary extends React.Component { ...@@ -35,7 +35,16 @@ class ErrorBoundary extends React.Component {
} else { } else {
return <WebGlModalComponent onBack={this.handleBack} />; 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; return this.props.children;
} }
......
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