From a08ac890463eeb2a2ff22a2ad3a3c7046a70975a Mon Sep 17 00:00:00 2001 From: abitmore Date: Wed, 13 Dec 2023 13:22:22 +0000 Subject: [PATCH] Add logging --- libraries/net/node.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/net/node.cpp b/libraries/net/node.cpp index eebc21a74..48534b75f 100644 --- a/libraries/net/node.cpp +++ b/libraries/net/node.cpp @@ -549,7 +549,7 @@ namespace graphene { namespace net { namespace detail { if (!_suspend_fetching_sync_blocks) { std::map > sync_item_requests_to_send; - + try { { std::set sync_items_to_request; @@ -591,6 +591,7 @@ namespace graphene { namespace net { namespace detail { // make all the requests we scheduled in the loop above for( auto sync_item_request : sync_item_requests_to_send ) request_sync_items_from_peer( sync_item_request.first, sync_item_request.second ); + } FC_CAPTURE_LOG_AND_RETHROW( (sync_item_requests_to_send.size()) ) sync_item_requests_to_send.clear(); } else @@ -605,6 +606,7 @@ namespace graphene { namespace net { namespace detail { _retrigger_fetch_sync_items_loop_promise.reset(); } } // while( !canceled ) + ilog( "_fetch_sync_items_loop_done canceled" ); } void node_impl::trigger_fetch_sync_items_loop()