Fixed syntax error

This commit is contained in:
Dayson Pais 2014-05-26 22:01:49 +05:30
parent b242280ecd
commit 760e38c0ef

View File

@ -241,7 +241,7 @@ class Resque_Worker
$job->perform(); $job->perform();
} }
catch(Exception $e) { 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' => (string)$e));
$job->fail($e); $job->fail($e);
return; return;
} }