Dealing with broken pipe (not filling terminal with traceback in that case)

This commit is contained in:
Miroslav Stampar 2014-09-22 22:18:08 +02:00
parent 6945a0a570
commit f272517cd2

View File

@ -62,6 +62,8 @@ class ColorizingStreamHandler(logging.StreamHandler):
self.flush()
except (KeyboardInterrupt, SystemExit):
raise
except IOError:
pass
except:
self.handleError(record)