aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallettool.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-18 18:31:01 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-05-01 07:39:35 -0400
commitfa59cc1c977cce8f1f28374ac2169970ca78a35f (patch)
tree1d506d7a494328d28ae41083d78b547abf162664 /src/wallet/wallettool.cpp
parentfae7776690c37104d2d4949429c5f84e6a33c576 (diff)
downloadbitcoin-fa59cc1c977cce8f1f28374ac2169970ca78a35f.tar.xz
wallet: Report full error message in wallettool
Diffstat (limited to 'src/wallet/wallettool.cpp')
-rw-r--r--src/wallet/wallettool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallettool.cpp b/src/wallet/wallettool.cpp
index 2193edcfa5..522efaa884 100644
--- a/src/wallet/wallettool.cpp
+++ b/src/wallet/wallettool.cpp
@@ -120,7 +120,7 @@ bool ExecuteWalletToolFunc(const std::string& command, const std::string& name)
}
bilingual_str error;
if (!WalletBatch::VerifyEnvironment(path, error)) {
- tfm::format(std::cerr, "Error loading %s. Is wallet being used by other process?\n", name);
+ tfm::format(std::cerr, "%s\nError loading %s. Is wallet being used by other process?\n", error.original, name);
return false;
}
std::shared_ptr<CWallet> wallet_instance = LoadWallet(name, path);