From 440df38bb9594a62a3133002c58cc98739f77c6d Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 10 Mar 2015 12:07:22 +0000 Subject: Log the failure-reason on the temporary-fails. --- lib/custodian/worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian') diff --git a/lib/custodian/worker.rb b/lib/custodian/worker.rb index a8118da..7016d51 100644 --- a/lib/custodian/worker.rb +++ b/lib/custodian/worker.rb @@ -187,7 +187,7 @@ module Custodian # be no delay. If the test fails then we'll sleep. # if (result == false) && (@retry_delay > 0) && (count < @retry_count) - log_message("Sleeping for #{@retry_delay} seconds to allow cool-down") + log_message("Sleeping #{@retry_delay} before retry - failure: #{test.error}") sleep(@retry_delay) end -- cgit v1.2.1