add tx_hash to some error log output

fix_nonunique_outputs
moneroexamples 5 years ago
parent 154d78d63e
commit 3f2e99e187

@ -1,8 +1,4 @@
var config = {
<<<<<<< HEAD
=======
//apiUrl: "http://0.0.0.0:1984/",
>>>>>>> master
apiUrl: "http://127.0.0.1:1984/",
mainnetExplorerUrl: "https://xmrchain.com/",
testnetExplorerUrl: "https://testnet.xmrchain.com/",

@ -393,9 +393,10 @@ for (auto const& tx_tuple: txs_data)
{
OMERROR << address_prefix
<< ": insert outputs_found: no_rows_inserted is zero!"
<< outputs_found;
<< outputs_found << " in tx " << tx_hash_str;
throw TxSearchException("insert output_found: no_rows_inserted is zero!");
throw TxSearchException("insert output_found: "
"no_rows_inserted is zero!");
}
} // if (!found_mine_outputs.empty())
@ -581,7 +582,7 @@ for (auto const& tx_tuple: txs_data)
{
OMERROR << address_prefix
<< ": insert inputs_found: no_rows_inserted is zero!"
<< inputs_found;
<< inputs_found << " in tx " << tx_hash_str;
throw TxSearchException(
"insert inputs_found: no_rows_inserted is zero!");

Loading…
Cancel
Save