Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Move log error code to end
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Dec 7, 2020
1 parent fe60acf commit 1a158ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -539,12 +539,12 @@ class producer_plugin_impl : public std::enable_shared_from_this<producer_plugin
if( exception_is_exhausted( *trace->except, deadline_is_subjective )) {
_unapplied_transactions.add_incoming( trx, persist_until_expired, next );
if( _pending_block_mode == pending_block_mode::producing ) {
fc_dlog(_log, "[TRX_TRACE] Block ${block_num} for producer ${prod} COULD NOT FIT ${c}, tx: ${txid} RETRYING ",
fc_dlog(_log, "[TRX_TRACE] Block ${block_num} for producer ${prod} COULD NOT FIT, tx: ${txid} RETRYING, ec: ${c} ",
("block_num", chain.head_block_num() + 1)
("prod", get_pending_block_producer())("c", trace->except->code())
("txid", trx->id()));
("prod", get_pending_block_producer())
("txid", trx->id())("c", trace->except->code()));
} else {
fc_dlog(_log, "[TRX_TRACE] Speculative execution COULD NOT FIT ${c} tx: ${txid} RETRYING",
fc_dlog(_log, "[TRX_TRACE] Speculative execution COULD NOT FIT tx: ${txid} RETRYING, ec: ${c}",
("txid", trx->id())("c", trace->except->code()));
}
if( !exhausted )
Expand Down

0 comments on commit 1a158ea

Please sign in to comment.