diff options
ui - actions - importNewAccount - rethrow err on failure
Diffstat (limited to 'ui/app')
-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)) |