Issue Type: Improvement Improvement
Affects Versions: current
Assignee: Nicolas De Loof
Components: git-client
Created: 16/Nov/13 6:33 AM
Description:

When there is an exception happening in CliGitAPIImpl#getURLWithCrendentials -method, the error message does not contain the root cause why the connection to git server is failing.

throw new GitException("Failed to connect to " + u.toString() + (cred != null ? " using credentials " + cred.getDescription() : ""));


To this

throw new GitException("Failed to connect to " + u.toString() + (cred != null ? " using credentials " + cred.getDescription() : ""), e);

This extra information could help people to figure out why they are having problems on cloning the repository

Project: Jenkins
Priority: Major Major
Reporter: joukojo
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to