public function recordJobException($exception)
    {
        $this->cache->add('eyewitness_q_exception_count_'.$this->currentQueue->id, 0, 180);
        $this->cache->increment('eyewitness_q_exception_count_'.$this->currentQueue->id);

        throw $exception;
    }
public function recordJobException($exception)
    {
        $this->cache->add('eyewitness_q_exception_count_'.$this->currentQueue->id, 0, 180);
        $this->cache->increment('eyewitness_q_exception_count_'.$this->currentQueue->id);

        throw $exception;
    }
public function recordJobException ( $ exception ) { $ this -> cache -> add ( 'eyewitness_q_exception_count_' . $ this -> currentQueue -> id , 0 , 180 ) ; $ this -> cache -> increment ( 'eyewitness_q_exception_count_' . $ this -> currentQueue -> id ) ; throw $ exception ; }
Record the exeception count.

@param  string  $exception
@return void

@throws \Throwable
Record the exeception count .