aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-05-02 02:16:35 +0800
committerkumavis <aaron@kumavis.me>2018-05-02 02:16:35 +0800
commit0e48ddfceb0e0ac4b271b1d946c567539c8d4432 (patch)
tree6d7e5ea2f5e114b2977d31badff672a9c9bd8574 /ui/app
parentbce7adac8528b71402d515374983b811a56ddf57 (diff)
downloadtangerine-wallet-browser-0e48ddfceb0e0ac4b271b1d946c567539c8d4432.tar
tangerine-wallet-browser-0e48ddfceb0e0ac4b271b1d946c567539c8d4432.tar.gz
tangerine-wallet-browser-0e48ddfceb0e0ac4b271b1d946c567539c8d4432.tar.bz2
tangerine-wallet-browser-0e48ddfceb0e0ac4b271b1d946c567539c8d4432.tar.lz
tangerine-wallet-browser-0e48ddfceb0e0ac4b271b1d946c567539c8d4432.tar.xz
tangerine-wallet-browser-0e48ddfceb0e0ac4b271b1d946c567539c8d4432.tar.zst
tangerine-wallet-browser-0e48ddfceb0e0ac4b271b1d946c567539c8d4432.zip
ui - actions - importNewAccount - rethrow err on failure
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/actions.js2
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))