From 3c6850974565cc7ef664605258eb53583e9f6c21 Mon Sep 17 00:00:00 2001 From: "crypro.zoidberg" Date: Wed, 1 May 2019 16:44:04 +0200 Subject: [PATCH] added more logs to exception in tests --- tests/functional_tests/transactions_flow_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/functional_tests/transactions_flow_test.cpp b/tests/functional_tests/transactions_flow_test.cpp index 898b5ba4..615926a7 100644 --- a/tests/functional_tests/transactions_flow_test.cpp +++ b/tests/functional_tests/transactions_flow_test.cpp @@ -183,8 +183,9 @@ bool do_send_money_by_fractions(tools::wallet2& w1, tools::wallet2& w2, size_t m LOG_PRINT_GREEN("Split transaction sent " << get_transaction_hash(tx) << ", destinations: " << dsts.size() << ", blob size: " << get_object_blobsize(tx), LOG_LEVEL_0); return true; } - catch (const std::exception&) + catch (const std::exception& e) { + LOG_ERROR("exception while sending transfer: " << e.what()); return false; } }