diff --git a/gns3server/web/logger.py b/gns3server/web/logger.py index 90865f25..1fe40ffa 100644 --- a/gns3server/web/logger.py +++ b/gns3server/web/logger.py @@ -74,6 +74,9 @@ class ColouredStreamHandler(logging.StreamHandler): stream.write(msg) stream.write(self.terminator) self.flush() + # On OSX when frozen flush raise a BrokenPipeError + except BrokenPipeError: + pass except Exception: self.handleError(record)