lib/backburner/worker.rb in backburner-1.4.1 vs lib/backburner/worker.rb in backburner-1.5.0

- old
+ new

@@ -138,10 +138,10 @@ self.log_job_end(job.name) rescue Backburner::Job::JobFormatInvalid => e self.log_error self.exception_message(e) rescue => e # Error occurred processing job - self.log_error self.exception_message(e) + self.log_error self.exception_message(e) unless e.is_a?(Backburner::Job::RetryJob) unless job self.log_error "Error occurred before we were able to assign a job. Giving up without retrying!" return end