Revision 52727
Added by Claudio Atzori over 6 years ago
modules/dnet-modular-collector-service/trunk/src/main/java/eu/dnetlib/data/collector/plugins/HttpConnector.java | ||
---|---|---|
98 | 98 |
return IOUtils.toString(input); |
99 | 99 |
} |
100 | 100 |
} catch (IOException e) { |
101 |
log.error("error while retrieving from http-connection occured: " + e, e);
|
|
101 |
log.error("error while retrieving from http-connection occured: " + requestUrl, e);
|
|
102 | 102 |
Thread.sleep(defaultDelay * 1000); |
103 | 103 |
errorList.add(e.getMessage()); |
104 | 104 |
return attemptDownload(requestUrl, retryNumber + 1, errorList); |
Also available in: Unified diff
added request url in error log