/** * @param Job $job */ public function executeJob(Job $job) { try { $this->execute($job); } catch (Throwable $e) { $this->error($e->getMessage(), ['exception' => $e]); $this->gateway->restoreJob($job); } }
/** * @param Job $job */ public function executeJob(Job $job) { try { $this->execute($job); } catch (Throwable $e) { $this->error($e->getMessage(), ['exception' => $e]); $this->gateway->restoreJob($job); } }