From 1d876b8a5f2cefa7c51708b5ff1c1882f7d4bc7e Mon Sep 17 00:00:00 2001 From: Matt Selsky Date: Fri, 2 May 2014 16:01:39 +0100 Subject: Bug 811855 - Make the check for sslbase parameter report a failure reason. r=gerv, a=glob. --- Bugzilla/Config/Common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Config') diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm index 96d7c1c89..e9e993396 100644 --- a/Bugzilla/Config/Common.pm +++ b/Bugzilla/Config/Common.pm @@ -99,7 +99,7 @@ sub check_sslbase { my $iaddr = inet_aton($host) || return "The host $host cannot be resolved"; my $sin = sockaddr_in($port, $iaddr); if (!connect(SOCK, $sin)) { - return "Failed to connect to $host:$port; unable to enable SSL"; + return "Failed to connect to $host:$port ($!); unable to enable SSL"; } close(SOCK); } -- cgit v1.2.3-24-g4f1b