summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-12-11 11:02:11 +0000
committerSteve Kemp <steve@steve.org.uk>2012-12-11 11:02:11 +0000
commitee886ef098ea38fba9f35fae27983cd098f56d8a (patch)
tree18daf0d27f0d58e547c390b4745a39a430f808d0
parent417154a480e5add4db5aff2bd5269297e97321c6 (diff)
Updated to be more explicit in the error field.
-rw-r--r--lib/custodian/protocoltest/dns.rb4
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