]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 811855 - Make the check for sslbase parameter report a failure reason. r=gerv...
authorMatt Selsky <selsky@columbia.edu>
Fri, 2 May 2014 15:01:39 +0000 (16:01 +0100)
committerGervase Markham <gerv@gerv.net>
Fri, 2 May 2014 15:01:39 +0000 (16:01 +0100)
Bugzilla/Config/Common.pm

index 96d7c1c89ca6c979bfc1e5b7f3709768e6589a55..e9e993396c915f37e8f5e33eb97f6415f2103e8c 100644 (file)
@@ -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);
     }