Small improvement for logging.

This commit is contained in:
Martin Edenhofer 2017-05-15 15:09:02 +02:00
parent d5161405c0
commit 9220ad1008
2 changed files with 3 additions and 3 deletions

View file

@ -195,7 +195,7 @@ class Scheduler < ApplicationModel
if try_run_max > try_count
_start_job(job, try_count, try_run_time)
else
raise "STOP thread for #{job.method} after #{try_count} tries"
raise "STOP thread for #{job.method} after #{try_count} tries (#{e.inspect})"
end
end