diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-05-02 02:36:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 02:36:19 +0800 |
commit | ad1f98f8f2b487653a7a144795ac672727414473 (patch) | |
tree | 864f63bcbbded1fb244be7770cde77c97f64343f /ui | |
parent | 84275456e40d2373abe55bc756f09096a80e5fd6 (diff) | |
parent | 0e48ddfceb0e0ac4b271b1d946c567539c8d4432 (diff) | |
download | tangerine-wallet-browser-ad1f98f8f2b487653a7a144795ac672727414473.tar tangerine-wallet-browser-ad1f98f8f2b487653a7a144795ac672727414473.tar.gz tangerine-wallet-browser-ad1f98f8f2b487653a7a144795ac672727414473.tar.bz2 tangerine-wallet-browser-ad1f98f8f2b487653a7a144795ac672727414473.tar.lz tangerine-wallet-browser-ad1f98f8f2b487653a7a144795ac672727414473.tar.xz tangerine-wallet-browser-ad1f98f8f2b487653a7a144795ac672727414473.tar.zst tangerine-wallet-browser-ad1f98f8f2b487653a7a144795ac672727414473.zip |
Merge pull request #4162 from MetaMask/ui-actions-pify-importNewAccount
ui - actions - importNewAccount - rethrow err on failure
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/actions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index e817fa907..f060e40bd 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -535,7 +535,7 @@ function importNewAccount (strategy, args) { } catch (err) { dispatch(actions.hideLoadingIndication()) dispatch(actions.displayWarning(err.message)) - return + throw err } dispatch(actions.hideLoadingIndication()) dispatch(actions.updateMetamaskState(newState)) |