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 | ee886ef098ea38fba9f35fae27983cd098f56d8a (patch) | |
| tree | 18daf0d27f0d58e547c390b4745a39a430f808d0 /lib/custodian/protocoltest | |
| parent | 417154a480e5add4db5aff2bd5269297e97321c6 (diff) | |
  Updated to be more explicit in the error field.
Diffstat (limited to 'lib/custodian/protocoltest')
| -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 | 
