diff --git a/package.json b/package.json index 51ccb5214..448d86a28 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,7 @@ "imagesloaded": "^4.1.4", "json-loader": "^0.5.4", "lbry-format": "https://github.com/lbryio/lbry-format.git", - "lbry-redux": "lbryio/lbry-redux#8f66a2fe7c84d4587ec95698bce9f3e4360f8e88", + "lbry-redux": "lbryio/lbry-redux#7d25ceb939a7ea2b83cabbbfe62a946c9992e381", "lbryinc": "lbryio/lbryinc#8f9a58bfc8312a65614fd7327661cdcc502c4e59", "lint-staged": "^7.0.2", "localforage": "^1.7.1", diff --git a/ui/redux/actions/app.js b/ui/redux/actions/app.js index fb94d6834..3f5843be1 100644 --- a/ui/redux/actions/app.js +++ b/ui/redux/actions/app.js @@ -626,7 +626,6 @@ export function doGetAndPopulatePreferences() { function successCb(savedPreferences) { const successState = getState(); const daemonSettings = selectDaemonSettings(successState); - if (savedPreferences !== null) { dispatch(doPopulateSharedUserState(savedPreferences)); // @if TARGET='app' @@ -653,7 +652,8 @@ export function doGetAndPopulatePreferences() { return true; } - function failCb() { + function failCb(er) { + debugger; dispatch( doToast({ isError: true, @@ -663,6 +663,7 @@ export function doGetAndPopulatePreferences() { dispatch({ type: ACTIONS.SYNC_FATAL_ERROR, + error: er, }); return false; @@ -681,6 +682,8 @@ export function doHandleSyncComplete(error, hasNewData) { // we just got sync data, better update our channels dispatch(doFetchChannelListMine()); } + } else { + console.log('DHSC error', error); } }; } diff --git a/yarn.lock b/yarn.lock index 4f63b9351..b6157164c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7283,9 +7283,9 @@ lazy-val@^1.0.4: yargs "^13.2.2" zstd-codec "^0.1.1" -lbry-redux@lbryio/lbry-redux#8f66a2fe7c84d4587ec95698bce9f3e4360f8e88: +lbry-redux@lbryio/lbry-redux#7d25ceb939a7ea2b83cabbbfe62a946c9992e381: version "0.0.1" - resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/8f66a2fe7c84d4587ec95698bce9f3e4360f8e88" + resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/7d25ceb939a7ea2b83cabbbfe62a946c9992e381" dependencies: proxy-polyfill "0.1.6" reselect "^3.0.0"