Commit 6f177d84 authored by Adam Retter's avatar Adam Retter

Do not hide underlying SSL message, helps with siagnosing problems, e.g. SSL...

Do not hide underlying SSL message, helps with siagnosing problems, e.g. SSL problem might not be in cert exactly, but in mismatched host-name
parent 5639651b
......@@ -291,7 +291,7 @@ public class GitlabHTTPRequestor {
return null;
}
} catch (SSLHandshakeException e) {
throw new SSLHandshakeException("You can disable certificate checking by setting ignoreCertificateErrors on GitlabHTTPRequestor");
throw new SSLHandshakeException("You can disable certificate checking by setting ignoreCertificateErrors on GitlabHTTPRequestor. SSL Error: " + e.getMessage());
} finally {
IOUtils.closeQuietly(reader);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment