diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-12-11 11:02:11 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-12-11 11:02:11 +0000 |
commit | 638cef4adcaea85776c45d9dac5378d8d61858a2 (patch) | |
tree | 5d5e462b89bc8ac2ae88fe948d79087776a9e685 /lib/custodian | |
parent | 932e5890c7ced12b3d4f12c29a58ede3091f5c3e (diff) |
Updated to be more explicit in the error field.
Diffstat (limited to 'lib/custodian')
-rw-r--r-- | lib/custodian/protocoltest/dns.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/protocoltest/dns.rb b/lib/custodian/protocoltest/dns.rb index d5cac93..4053747 100644 --- a/lib/custodian/protocoltest/dns.rb +++ b/lib/custodian/protocoltest/dns.rb @@ -105,7 +105,7 @@ module Custodian # expected = 0 if ( results != @resolve_expected ) - @error = "The expected result '#{@resolve_expected}' didn't match the returned results '#{results}'" + @error = "When resolving the name #{@resolve_name} [#{resolve_type}-record lookup] against DNS-server #{@host} we received an error. The expected result '#{@resolve_expected}' didn't match the returned results '#{results}'" return false end @@ -150,7 +150,7 @@ module Custodian end end rescue Timeout::Error => e - @error = "Timed-out connecting #{e}" + @error = "Timed-out performing DNS lookups #{e}" return nil end |