diff --git a/mitogen/core.py b/mitogen/core.py index 7aea8704..c17b02f7 100644 --- a/mitogen/core.py +++ b/mitogen/core.py @@ -1479,7 +1479,7 @@ class Stream(BasicStream): ) if magic != self.HEADER_MAGIC: - LOG.error(self.corrupt_msg, self._input_buf[0][:128]) + LOG.error(self.corrupt_msg, self._input_buf[0][:2048]) self.on_disconnect(broker) return False