diff --git a/src/driver/core/SideBar.js b/src/driver/core/SideBar.js index 24c1686..4dd3192 100644 --- a/src/driver/core/SideBar.js +++ b/src/driver/core/SideBar.js @@ -41,11 +41,18 @@ const init = dispatch => async () => { dispatch(setShouldShow, nothingWentWrong && shouldShow) aggressivelyGotTreeData .then(treeData => { - dispatch({ logoContainerElement: DOMHelper.insertLogoMountPoint() }) dispatch({ treeData }) }) + .catch(err => { + dispatch(handleError, err) + }) + .then(() => { + dispatch({ logoContainerElement: DOMHelper.insertLogoMountPoint() }) + }) } catch (err) { dispatch(handleError, err) + } finally { + dispatch({ logoContainerElement: DOMHelper.insertLogoMountPoint() }) } }