Example #1
0
 /**
  * Fire the job.
  *
  * @return void
  */
 public function fire($job, $data)
 {
     try {
         // Send the data to Sentry.
         $this->raven->sendError($data);
         // Delete the processed job.
         $job->delete();
     } catch (\Exception $e) {
         // Release Job with delay.
         $job->release(30);
     }
 }