diff options
author | Dan <danjm.com@gmail.com> | 2018-06-22 01:27:45 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-06-29 08:15:46 +0800 |
commit | 75581ceebe719e102b177dc20f3b9e232c48e8a4 (patch) | |
tree | bddb21675a38028bf9dd76bfd68c878c638a08c1 /ui/app | |
parent | 9f5ee94b6937c741684de5e70ac0f9fea5f50226 (diff) | |
download | dexon-wallet-75581ceebe719e102b177dc20f3b9e232c48e8a4.tar.gz dexon-wallet-75581ceebe719e102b177dc20f3b9e232c48e8a4.tar.zst dexon-wallet-75581ceebe719e102b177dc20f3b9e232c48e8a4.zip |
Show all errors on account creation screen.
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/pages/create-account/import-account/json.js | 2 | ||||
-rw-r--r-- | ui/app/components/pages/create-account/import-account/private-key.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/pages/create-account/import-account/json.js b/ui/app/components/pages/create-account/import-account/json.js index 1dc2ba53..955b45d7 100644 --- a/ui/app/components/pages/create-account/import-account/json.js +++ b/ui/app/components/pages/create-account/import-account/json.js @@ -114,7 +114,7 @@ class JsonImportSubview extends Component { setSelectedAddress(firstAddress) } }) - .catch(err => displayWarning(err)) + .catch(err => displayWarning(err.message || err)) } } diff --git a/ui/app/components/pages/create-account/import-account/private-key.js b/ui/app/components/pages/create-account/import-account/private-key.js index 5df3777d..0d8ff0db 100644 --- a/ui/app/components/pages/create-account/import-account/private-key.js +++ b/ui/app/components/pages/create-account/import-account/private-key.js @@ -104,5 +104,5 @@ PrivateKeyImportView.prototype.createNewKeychain = function () { setSelectedAddress(firstAddress) } }) - .catch(err => displayWarning(err)) + .catch(err => displayWarning(err.message || err)) } |