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