aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-20 17:46:14 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-20 18:01:13 +0000
commit17246d051dbdaf8e4ecb64d1c27a09c49aba5a99 (patch)
tree3e86bc52366fb9bc5f3ec2a91c79d1b22408ebc0 /src/wallet/api/wallet.cpp
parentMerge pull request #1585 (diff)
downloadmonero-17246d051dbdaf8e4ecb64d1c27a09c49aba5a99.tar.xz
wallet: print exception message on get_random_outs_error
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 5f7d8e522..52ecc2e6a 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -834,8 +834,8 @@ PendingTransaction *WalletImpl::createTransaction(const string &dst_addr, const
} catch (const tools::error::wallet_rpc_error& e) {
m_errorString = tr("RPC error: ") + e.to_string();
m_status = Status_Error;
- } catch (const tools::error::get_random_outs_error&) {
- m_errorString = tr("failed to get random outputs to mix");
+ } catch (const tools::error::get_random_outs_error &e) {
+ m_errorString = (boost::format(tr("failed to get random outputs to mix: %s")) % e.what()).str();
m_status = Status_Error;
} catch (const tools::error::not_enough_money& e) {