From d42362eacc761f8d3aa2391120428cc38cbf7c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Hendricksen?= Date: Tue, 2 Aug 2016 22:49:02 -0400 Subject: [PATCH] looks like Raven isn't getting the reports because the dyno doesn't exist long enough for the http request to get out :( --- lib/travis/api/v3/queries/crons.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/travis/api/v3/queries/crons.rb b/lib/travis/api/v3/queries/crons.rb index 2273f4cb..561f269b 100644 --- a/lib/travis/api/v3/queries/crons.rb +++ b/lib/travis/api/v3/queries/crons.rb @@ -18,6 +18,7 @@ module Travis::API::V3 puts "bad things happened" puts e.inspect puts Raven.capture_exception(e, tags: { 'cron_id' => @cron.try(:id) }) + sleep(10) end def start(cron)