1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

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

ui - actions - importNewAccount - rethrow err on failure
This commit is contained in:
kumavis 2018-05-01 12:36:19 -06:00 committed by GitHub
commit ad1f98f8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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