mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
just handle error when is caused by OSError
This commit is contained in:
parent
22f1a30710
commit
8b572a0d3c
1 changed files with 4 additions and 0 deletions
|
|
@ -98,6 +98,10 @@ class PypeStreamHandler(logging.StreamHandler):
|
|||
self.flush()
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
raise
|
||||
|
||||
except OSError:
|
||||
self.handleError(record)
|
||||
|
||||
except Exception:
|
||||
print(repr(record))
|
||||
self.handleError(record)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue