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 | 440df38bb9594a62a3133002c58cc98739f77c6d (patch) | |
tree | 913570f460fb9500a0ed8036e5ab5e819b5dd118 /lib | |
parent | 606bb58ca311ed48697588d053303bf5349abf01 (diff) |
Log the failure-reason on the temporary-fails.
Diffstat (limited to 'lib')
-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 |