summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/tcp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocoltest/tcp.rb')
-rw-r--r--lib/custodian/protocoltest/tcp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/protocoltest/tcp.rb b/lib/custodian/protocoltest/tcp.rb
index fc95dd3..1747f3f 100644
--- a/lib/custodian/protocoltest/tcp.rb
+++ b/lib/custodian/protocoltest/tcp.rb
@@ -3,7 +3,7 @@ require 'custodian/settings'
require 'custodian/testfactory'
require 'socket'
require 'timeout'
-
+require 'English'
#
# The TCP-protocol test.
@@ -309,7 +309,7 @@ module Custodian
return false
end
rescue
- @error = "Exception connecting to host #{host}:#{port} - #{$ERROR_INFO}"
+ @error = "Exception connecting to host:#{host} [port:#{port}] - #{$ERROR_INFO}"
return false
end
end