Skip to content

Commit

Permalink
Whoops, wrong variable name in that last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemelia committed Nov 8, 2008
1 parent 3d52303 commit e7e0a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed/job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def self.reserve(max_run_time = 4.hours)
logger.warn "* [JOB] failed to aquire exclusive lock for #{job.name}"
rescue StandardError => e
job.reschedule e.message
log_exception(job, error)
log_exception(job, e)
return job
end
end
Expand Down

0 comments on commit e7e0a56

Please sign in to comment.