This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| index 8c1a73f..5bc114c 100644 | |
| --- a/libraries/plugins/p2p/p2p_plugin.cpp | |
| +++ b/libraries/plugins/p2p/p2p_plugin.cpp | |
| @@ -227,7 +227,12 @@ bool p2p_plugin_impl::handle_block( const graphene::net::block_message& blk_msg, | |
| ("e", e.to_detail_string()) | |
| ("head", head_block_num)); | |
| elog("Error when pushing block:\n${e}", ("e", e.to_detail_string())); | |
| - throw; | |
| + if (e.code() == 4080000) { | |
| + elog("Rethrowing as graphene::net exception"); |