mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-02 12:02:25 +12:00
- Added catch of RuntimeError triggered on when sys.stderr is none
This commit is contained in:
parent
1933d53c1c
commit
42245d38c3
|
@ -16,7 +16,7 @@ from manuskript.version import getVersion
|
|||
|
||||
try:
|
||||
faulthandler.enable()
|
||||
except AttributeError:
|
||||
except (AttributeError, RuntimeError):
|
||||
print("Faulthandler failed")
|
||||
|
||||
import logging
|
||||
|
|
Loading…
Reference in a new issue