diff options
Diffstat (limited to 'grc/core/utils/extract_docs.py')
-rw-r--r-- | grc/core/utils/extract_docs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/grc/core/utils/extract_docs.py b/grc/core/utils/extract_docs.py index 39cb6ec096..306940dcfd 100644 --- a/grc/core/utils/extract_docs.py +++ b/grc/core/utils/extract_docs.py @@ -199,7 +199,10 @@ class SubprocessLoader(object): raise ValueError('Got wrong auth code') return cmd, args except ValueError: - continue # ignore invalid output from worker + if self._worker.poll(): + raise IOError("Worker died") + else: + continue # ignore invalid output from worker else: raise IOError("Can't read worker response") |