mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
8f6c0b07dc
commit
80968e6871
@ -76,7 +76,7 @@ def communicate(ans, worker, listener, args, timeout=300, heartbeat=None,
|
|||||||
raise WorkerError('Failed to connect to worker process', cw.tb)
|
raise WorkerError('Failed to connect to worker process', cw.tb)
|
||||||
|
|
||||||
if cw.tb:
|
if cw.tb:
|
||||||
raise WorkerError('Failed to communicate with worker process')
|
raise WorkerError('Failed to communicate with worker process', cw.tb)
|
||||||
if cw.res is None:
|
if cw.res is None:
|
||||||
raise WorkerError('Something strange happened. The worker process was aborted without an exception.')
|
raise WorkerError('Something strange happened. The worker process was aborted without an exception.')
|
||||||
if cw.res.get('tb', None):
|
if cw.res.get('tb', None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user