summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2014-05-02 17:01:39 +0200
committerGervase Markham <gerv@gerv.net>2014-05-02 17:01:39 +0200
commit1d876b8a5f2cefa7c51708b5ff1c1882f7d4bc7e (patch)
treee28d4f9abaa832a107320d3ff248a843b6cba3e1 /Bugzilla
parent26913cee0717b63ddc350241370b0f49c82a36c9 (diff)
downloadbugzilla-1d876b8a5f2cefa7c51708b5ff1c1882f7d4bc7e.tar.gz
bugzilla-1d876b8a5f2cefa7c51708b5ff1c1882f7d4bc7e.tar.xz
Bug 811855 - Make the check for sslbase parameter report a failure reason. r=gerv, a=glob.
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Config/Common.pm2
1 files changed, 1 insertions, 1 deletions
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);
}