Change log level and add exception message to log
@@ -50,7 +50,7 @@ public class FileDownloader {
try {
return getFutureFile(fileReference).get(timeout.toMillis(), TimeUnit.MILLISECONDS);
} catch (InterruptedException | ExecutionException | TimeoutException e) {
- log.log(LogLevel.INFO, "Failed downloading file, removing from download queue");
+ log.log(LogLevel.WARNING, "Failed downloading file, removing from download queue: " + e.getMessage());
fileReferenceDownloader.failedDownloading(fileReference);
return Optional.empty();
}
