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:
parent
bce7adac85
commit
0e48ddfceb
@ -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