mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
This commit is contained in:
parent
ac6245404b
commit
c6b1f358b4
@ -120,7 +120,7 @@ class Server(object):
|
|||||||
|
|
||||||
started = p.waitForStarted(30000) # Wait at most 30 secs
|
started = p.waitForStarted(30000) # Wait at most 30 secs
|
||||||
if not started:
|
if not started:
|
||||||
raise RuntimeError('Could not run job: %s %s'%(func, args))
|
raise RuntimeError('Could not run job: %s %s\nError: '%(func, args, p.errorString()))
|
||||||
|
|
||||||
while p.state() == QProcess.Running:
|
while p.state() == QProcess.Running:
|
||||||
if job_id in self.kill_jobs:
|
if job_id in self.kill_jobs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user