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:
commit
ad1f98f8f2
@ -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…
Reference in New Issue
Block a user