Merge pull request #4162 from MetaMask/ui-actions-pify-importNewAccount

ui - actions - importNewAccount - rethrow err on failure
feature/default_network_editable
kumavis 7 years ago committed by GitHub
commit ad1f98f8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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))

Loading…
Cancel
Save