1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

ui - actions - importNewAccount - rethrow err on failure

This commit is contained in:
kumavis 2018-05-01 11:16:35 -07:00
parent bce7adac85
commit 0e48ddfceb

View File

@ -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))