mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
py3 compat: Ensure exception is last line in pipe worker tracebacks on windows
This commit is contained in:
parent
540edf6b05
commit
4ff60cba2f
@ -189,6 +189,7 @@ def main():
|
||||
exec(sys.argv[-1])
|
||||
except Exception:
|
||||
print('Failed to run pipe worker with command:', sys.argv[-1])
|
||||
sys.stdout.flush()
|
||||
raise
|
||||
return
|
||||
address = msgpack_loads(from_hex_bytes(os.environ['CALIBRE_WORKER_ADDRESS']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user