From 1788e0c0fb02419a9603ff4e55ab6286f3160739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Hendricksen?= Date: Tue, 2 Aug 2016 22:42:32 -0400 Subject: [PATCH] more output for the strange behavior on staging --- lib/travis/api/v3/queries/crons.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/travis/api/v3/queries/crons.rb b/lib/travis/api/v3/queries/crons.rb index e1b5af1b..2273f4cb 100644 --- a/lib/travis/api/v3/queries/crons.rb +++ b/lib/travis/api/v3/queries/crons.rb @@ -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)