diff --git a/neo/connection.py b/neo/connection.py index 45415e402b0c432269fb147c50ad5960d3bcc7f5..2258b9435e3c2794ca4f760a8cde4222cf833d5d 100644 --- a/neo/connection.py +++ b/neo/connection.py @@ -364,11 +364,7 @@ class Connection(BaseConnection): return PACKET_LOGGER.dispatch(self, packet, ' to ') - try: - self.write_buf += packet() - except PacketMalformedError: - logging.critical('trying to send a too big message') - raise + self.write_buf += packet() # If this is the first time, enable polling for writing. if self.write_buf: