diff options
-rw-r--r-- | config-proxy/src/main/java/com/yahoo/vespa/config/proxy/UrlDownloadRpcServer.java | 6 | ||||
-rw-r--r-- | config/src/main/java/com/yahoo/vespa/config/UrlDownloader.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/UrlDownloadRpcServer.java b/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/UrlDownloadRpcServer.java index a9bf78526e0..d8688d5cc36 100644 --- a/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/UrlDownloadRpcServer.java +++ b/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/UrlDownloadRpcServer.java @@ -84,8 +84,8 @@ public class UrlDownloadRpcServer { } } catch (Throwable e) { - log.log(LogLevel.WARNING, "Download of URL '" + url + "' got exception: " + e.getMessage()); - req.setError(INTERNAL_ERROR, "Download of URL '" + url + "' internal error"); + log.log(LogLevel.ERROR, "Download of URL '" + url + "' got exception: " + e.getMessage()); + req.setError(INTERNAL_ERROR, "Download of URL '" + url + "' internal error: " + e.getMessage()); } req.returnRequest(); } @@ -104,7 +104,7 @@ public class UrlDownloadRpcServer { req.returnValues().add(new StringValue(contentsPath.getAbsolutePath())); log.log(LogLevel.DEBUG, () -> "URL '" + url + "' available at " + contentsPath); } else { - log.log(LogLevel.INFO, "Downloaded URL '" + url + "' not found, returning error"); + log.log(LogLevel.ERROR, "Downloaded URL '" + url + "' not found, returning error"); req.setError(DOES_NOT_EXIST, "Downloaded '" + url + "' not found"); } } diff --git a/config/src/main/java/com/yahoo/vespa/config/UrlDownloader.java b/config/src/main/java/com/yahoo/vespa/config/UrlDownloader.java index 61981e6edb2..4947b618f50 100644 --- a/config/src/main/java/com/yahoo/vespa/config/UrlDownloader.java +++ b/config/src/main/java/com/yahoo/vespa/config/UrlDownloader.java @@ -87,7 +87,7 @@ public class UrlDownloader { throw new RuntimeException("Interrupted sleep between retries of waitFor", e); } } else { - throw new RuntimeException("Wait for " + urlReference + " failed:" + request.errorMessage() + " (" + request.errorCode() + ")"); + throw new RuntimeException("Wait for " + urlReference + " failed: " + request.errorMessage() + " (" + request.errorCode() + ")"); } timeLeft = start + timeout - System.currentTimeMillis() / 1000; } while (timeLeft > 0); |