mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #4633 from MetaMask/i4580-import-account-errors
Show all errors on account creation screen.
This commit is contained in:
commit
3fd5af636f
@ -114,7 +114,7 @@ class JsonImportSubview extends Component {
|
||||
setSelectedAddress(firstAddress)
|
||||
}
|
||||
})
|
||||
.catch(err => displayWarning(err))
|
||||
.catch(err => err && displayWarning(err.message || err))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -104,5 +104,5 @@ PrivateKeyImportView.prototype.createNewKeychain = function () {
|
||||
setSelectedAddress(firstAddress)
|
||||
}
|
||||
})
|
||||
.catch(err => displayWarning(err))
|
||||
.catch(err => err && displayWarning(err.message || err))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user