forked from lthn/blockchain
added more logs to exception in tests
This commit is contained in:
parent
02576ab740
commit
3c68509745
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue