diff --git a/lib/Resque/Worker.php b/lib/Resque/Worker.php index 2d6f649..750c41c 100644 --- a/lib/Resque/Worker.php +++ b/lib/Resque/Worker.php @@ -241,7 +241,7 @@ class Resque_Worker $job->perform(); } catch(Exception $e) { - $this->logger->log(Psr\Log\LogLevel::CRITICAL, '{job} has failed {stack}', array('job' => $job, 'stack' => (string)$e)); + $this->logger->log(Psr\Log\LogLevel::CRITICAL, '{job} has failed {stack}', array('job' => $job, 'stack' => $e)); $job->fail($e); return; }