aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/connection.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index 89cb7dd0b..0f09753bd 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -1102,6 +1102,11 @@ u32 Connection::Receive(u16 &peer_id, u8 *data, u32 datasize)
if(m_socket.WaitData(0) == true)
continue;
}
+ catch(SendFailedException &e)
+ {
+ derr_con<<"Receive(): SendFailedException; peer_id="
+ <<peer_id<<std::endl;
+ }
} // for
}