mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-26 19:11:29 +01:00
testing connection errors
This commit is contained in:
@@ -262,9 +262,9 @@ public final class Downloader {
|
|||||||
throw new DownloadFailedException(format("Error creating URL Connection for HTTP %s request.", httpMethod), ex);
|
throw new DownloadFailedException(format("Error creating URL Connection for HTTP %s request.", httpMethod), ex);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
checkForSslExceptionn(ex);
|
checkForSslExceptionn(ex);
|
||||||
LOGGER.debug("IO Exception: " + ex.getMessage(), ex);
|
LOGGER.error("IO Exception: " + ex.getMessage(), ex);
|
||||||
if (ex.getCause() != null) {
|
if (ex.getCause() != null) {
|
||||||
LOGGER.debug("IO Exception cause: " + ex.getCause().getMessage(), ex.getCause());
|
LOGGER.error("IO Exception cause: " + ex.getCause().getMessage(), ex.getCause());
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
//retry
|
//retry
|
||||||
|
|||||||
Reference in New Issue
Block a user