public function handle($e) { if ($this->isExceptionHalting($e)) { $this->logger()->error("worker terminated with a fatal error, releasing task for %d seconds", self::RELEASE_DELAY); try { $this->_queue->release($this->_task, self::RELEASE_DELAY); } catch (Exception $re) { $this->logger()->error($re->getMessage(), array('exception' => $re)); } } parent::handle($e); }