summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2016-12-19 11:55:38 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2016-12-19 11:55:38 +0000
commita02bce4ed86e3475ff7925514e3436536f8ce538 (patch)
treede4f39adb8f13e92710e674a92d36a0b3fde3219
parent8cb39f01cb7612367dc91cc6af76f2d56696d05a (diff)
parent8e81649c49da9b0bd66c50e434f54bbd493d8e16 (diff)
Merge branch '4-show-host-port-when-timing-out' into 'master'
Show host/port when TCP timeout occurs. This is a failure case which is not 100% clear. This closes #4. See merge request !2
-rw-r--r--lib/custodian/protocoltest/tcp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/tcp.rb b/lib/custodian/protocoltest/tcp.rb
index 0ab4ff6..0081a18 100644
--- a/lib/custodian/protocoltest/tcp.rb
+++ b/lib/custodian/protocoltest/tcp.rb
@@ -301,7 +301,7 @@ module Custodian
end
end
rescue Timeout::Error => e
- @error = "TIMEOUT: #{e}"
+ @error = "Timed out connecting to #{host}:#{port} - #{e}"
return false
end
@error = 'Misc failure'