more output for the strange behavior on staging

This commit is contained in:
Renée Hendricksen 2016-08-02 22:42:32 -04:00
parent 20d4df8af3
commit 1788e0c0fb

View File

@ -15,7 +15,9 @@ module Travis::API::V3
start(cron) if cron.next_enqueuing <= Time.now
end
rescue => e
Raven.capture_exception(e, tags: { 'cron_id' => @cron.try(:id) })
puts "bad things happened"
puts e.inspect
puts Raven.capture_exception(e, tags: { 'cron_id' => @cron.try(:id) })
end
def start(cron)