diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-10 12:07:22 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-10 12:07:22 +0000 |
commit | 374b92529203571e7c497241d68c03b75b466e4c (patch) | |
tree | 31b4ed9aedcd29b219c09a21060b773d1f43f757 /lib/custodian/worker.rb | |
parent | d84a072084db4a0284040776f005696a8fd4dce0 (diff) |
Log the failure-reason on the temporary-fails.
Diffstat (limited to 'lib/custodian/worker.rb')
-rw-r--r-- | lib/custodian/worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |