diff --git a/rq/worker.py b/rq/worker.py index 0ae0edd..b5b141b 100644 --- a/rq/worker.py +++ b/rq/worker.py @@ -647,7 +647,6 @@ class Worker(object): '(work-horse terminated unexpectedly; waitpid returned {})' ).format(ret_val)) - exc_string = "Work-horse process was terminated unexpectedly " + "(waitpid returned %s)" % ret_val self.handle_job_failure( job, exc_string="Work-horse process was terminated unexpectedly "