ui - actions - importNewAccount - rethrow err on failure

feature/default_network_editable
kumavis 7 years ago
parent bce7adac85
commit 0e48ddfceb
  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