From 12a07985492c97a2d2ef683ec04ef82fa82d3b82 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 30 Jun 2015 16:46:32 -0700 Subject: more verbose stunnel test errors --- tests/helpers/network_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/helpers') diff --git a/tests/helpers/network_helper.rb b/tests/helpers/network_helper.rb index ff92d382..713d57aa 100644 --- a/tests/helpers/network_helper.rb +++ b/tests/helpers/network_helper.rb @@ -70,7 +70,7 @@ class LeapTest #try_tcp_write(socket,1) #try_tcp_read(socket,1) rescue StandardError => exc - fail ["Failed to open socket #{host}:#{port}", exc].join("\n") + fail ["Failed to open socket #{host}:#{port}", exc, msg].compact.join("\n") ensure socket.close if socket end -- cgit v1.2.3