mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 08:18:30 +00:00
parent
9eeb8910fb
commit
22efc7488f
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user