From 6a9b2a0d0406bf01589267841d5230f32e7e29ea Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Wed, 30 Aug 2017 17:15:50 -0400 Subject: [PATCH] Fix a crash in which we tried to log a proposal object that may have been deleted. Also, fix a place where logged the letter e instead of the exception it represented --- libraries/chain/db_block.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/chain/db_block.cpp b/libraries/chain/db_block.cpp index e5ad1d92..0bcc6f41 100644 --- a/libraries/chain/db_block.cpp +++ b/libraries/chain/db_block.cpp @@ -286,13 +286,13 @@ processed_transaction database::push_proposal(const proposal_object& proposal) { _applied_ops.resize( old_applied_ops_size ); } - elog( "e", ("e",e.to_detail_string() ) ); + edump((e)); throw; } ptrx.operation_results = std::move(eval_state.operation_results); return ptrx; -} FC_CAPTURE_AND_RETHROW( (proposal) ) } +} FC_CAPTURE_AND_RETHROW() } signed_block database::generate_block( fc::time_point_sec when,