aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-20 21:00:01 -0500
committerRiccardo Spagni <ric@spagni.net>2017-01-20 21:00:01 -0500
commit39aaea8e6293fc79d94e188a100acc4042a20dc5 (patch)
tree104125f6b4c48698209e7d0938b764e73421c34e /src/wallet/api
parentMerge pull request #1596 (diff)
parentwallet: print exception message on get_random_outs_error (diff)
downloadmonero-39aaea8e6293fc79d94e188a100acc4042a20dc5.tar.xz
Merge pull request #1599
17246d05 wallet: print exception message on get_random_outs_error (moneromooo-monero)
Diffstat (limited to 'src/wallet/api')
-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) {