You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
m.data.resize(m.size.value()); // truncate off the padding bytes
@@ -214,8 +225,20 @@ namespace graphene { namespace net {
214
225
}
215
226
catch ( const fc::canceled_exception& e )
216
227
{
217
-
wlog( "caught a canceled_exception in read_loop. this should mean we're in the process of deleting this object already, so there's no need to notify the delegate: ${e}", ("e", e.to_detail_string() ) );
218
-
throw;
228
+
if( io_error )
229
+
{
230
+
wlog( "disconnected on io error ${e}", ("e", e.to_detail_string() ) );
231
+
call_on_connection_closed = true;
232
+
exception_to_rethrow = fc::unhandled_exception(FC_LOG_MESSAGE(warn, "disconnected on io error: ${e}",
233
+
("e", e.to_detail_string())));
234
+
}
235
+
else
236
+
{
237
+
wlog( "caught a canceled_exception in read_loop. this should mean we're in the process of deleting "
238
+
"this object already, so there's no need to notify the delegate: ${e}",
0 commit comments