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