diff --git a/src/App/App.js b/src/App/App.js index 7123c9887..6648f9ac6 100644 --- a/src/App/App.js +++ b/src/App/App.js @@ -24,7 +24,11 @@ const App = () => { const [shellInitialized, setShellInitialized] = React.useState(false); React.useEffect(() => { const onCoreStateChanged = () => { - setCoreInitialized(services.core.active); + if (services.core.error) { + alert(services.core.error); + } else if (services.core.active) { + setCoreInitialized(services.core.active); + } }; const onShellStateChanged = () => { setShellInitialized(services.shell.active || services.shell.error instanceof Error);