mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-02-07 00:33:49 +02:00
parent
9eeb8910fb
commit
22efc7488f
@ -74,6 +74,9 @@ class ColouredStreamHandler(logging.StreamHandler):
|
|||||||
stream.write(msg)
|
stream.write(msg)
|
||||||
stream.write(self.terminator)
|
stream.write(self.terminator)
|
||||||
self.flush()
|
self.flush()
|
||||||
|
# On OSX when frozen flush raise a BrokenPipeError
|
||||||
|
except BrokenPipeError:
|
||||||
|
pass
|
||||||
except Exception:
|
except Exception:
|
||||||
self.handleError(record)
|
self.handleError(record)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user