aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-22 01:27:45 +0800
committerDan <danjm.com@gmail.com>2018-06-29 08:15:46 +0800
commit75581ceebe719e102b177dc20f3b9e232c48e8a4 (patch)
treebddb21675a38028bf9dd76bfd68c878c638a08c1 /ui
parent9f5ee94b6937c741684de5e70ac0f9fea5f50226 (diff)
downloadtangerine-wallet-browser-75581ceebe719e102b177dc20f3b9e232c48e8a4.tar
tangerine-wallet-browser-75581ceebe719e102b177dc20f3b9e232c48e8a4.tar.gz
tangerine-wallet-browser-75581ceebe719e102b177dc20f3b9e232c48e8a4.tar.bz2
tangerine-wallet-browser-75581ceebe719e102b177dc20f3b9e232c48e8a4.tar.lz
tangerine-wallet-browser-75581ceebe719e102b177dc20f3b9e232c48e8a4.tar.xz
tangerine-wallet-browser-75581ceebe719e102b177dc20f3b9e232c48e8a4.tar.zst
tangerine-wallet-browser-75581ceebe719e102b177dc20f3b9e232c48e8a4.zip
Show all errors on account creation screen.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pages/create-account/import-account/json.js2
-rw-r--r--ui/app/components/pages/create-account/import-account/private-key.js2
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 1dc2ba534..955b45d74 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 5df3777da..0d8ff0db6 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))
}