From b37221eb0054fd342d64ae73014a3616b3511281 Mon Sep 17 00:00:00 2001 From: abitmore Date: Sat, 22 Aug 2020 15:25:45 -0400 Subject: [PATCH] Rethrow plugin exception --- libraries/chain/db_notify.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/chain/db_notify.cpp b/libraries/chain/db_notify.cpp index bea56d7b6a..adadd4c62b 100644 --- a/libraries/chain/db_notify.cpp +++ b/libraries/chain/db_notify.cpp @@ -562,6 +562,9 @@ void database::notify_changed_objects() GRAPHENE_TRY_NOTIFY( removed_objects, removed_ids, removed, removed_accounts_impacted ) } } +} catch( const graphene::chain::plugin_exception& e ) { + elog( "Caught plugin exception: ${e}", ("e", e.to_detail_string() ) ); + throw; } FC_CAPTURE_AND_LOG( (0) ) } } } // namespace graphene::chain