diff options
author | Harald Musum <musum@oath.com> | 2018-03-06 08:28:03 +0100 |
---|---|---|
committer | Harald Musum <musum@oath.com> | 2018-03-06 08:28:03 +0100 |
commit | 3235d35bde5d18b2a2f636a416f03a12c8cbd3c0 (patch) | |
tree | 1f44c055e3dcd3d364ad2c818603936d603683f5 /filedistribution | |
parent | 7a5bc5a64e995c84815ba720030535cfeedece1d (diff) |
Change log level and add exception message to log
Diffstat (limited to 'filedistribution')
-rw-r--r-- | filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java b/filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java index 41967c72357..b855c667960 100644 --- a/filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java +++ b/filedistribution/src/main/java/com/yahoo/vespa/filedistribution/FileDownloader.java @@ -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(); } |