lib/rufus/scheduler.rb in rufus-scheduler-3.7.0 vs lib/rufus/scheduler.rb in rufus-scheduler-3.8.0

- old
+ new

@@ -7,11 +7,11 @@ module Rufus; end class Rufus::Scheduler - VERSION = '3.7.0' + VERSION = '3.8.0' EoTime = ::EtOrbi::EoTime require 'rufus/scheduler/util' require 'rufus/scheduler/jobs_core' @@ -443,9 +443,10 @@ ms = {}; mutexes.each { |k, v| ms[k] = v.locked? } stderr.puts("{ #{pre} rufus-scheduler intercepted an error:") stderr.puts(" #{pre} job:") stderr.puts(" #{pre} #{job.class} #{job.original.inspect} #{job.opts.inspect}") + stderr.puts(" #{pre} #{job.source_location.inspect}") # TODO: eventually use a Job#detail or something like that stderr.puts(" #{pre} error:") stderr.puts(" #{pre} #{err.object_id}") stderr.puts(" #{pre} #{err.class}") stderr.puts(" #{pre} #{err}")