Skip to content

Commit

Permalink
GH-1053 Log exception in log_irreversible
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Dec 11, 2024
1 parent f851e1a commit c070108
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1556,6 +1556,7 @@ struct controller_impl {
}
} catch( const std::exception& e ) {
try {
elog("Caught exception while logging irreversible: ${e}", ("e", e.what()));
if (root_id != forkdb.root()->id()) {
forkdb.advance_root(root_id);
}
Expand Down

0 comments on commit c070108

Please sign in to comment.