summaryrefslogtreecommitdiffstats
path: root/standalone-container
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2021-09-27 14:59:09 +0200
committerGitHub <noreply@github.com>2021-09-27 14:59:09 +0200
commit49e61cee9ce7b26369bdb942295be0211181cc3b (patch)
treed9407c5cf640202784fe3fc74eb1106069a97bed /standalone-container
parentdde987b499157086f3b58787a30fa4e58c3ab83b (diff)
parent056732ab45cbc172ebc9f1eabd9f74dccf8bd7c3 (diff)
Merge pull request #19281 from vespa-engine/bratseth/tolerate-missing-file-references
Tolerate missing file references
Diffstat (limited to 'standalone-container')
-rw-r--r--standalone-container/src/main/java/com/yahoo/container/standalone/LocalFileDb.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/standalone-container/src/main/java/com/yahoo/container/standalone/LocalFileDb.java b/standalone-container/src/main/java/com/yahoo/container/standalone/LocalFileDb.java
index c9e0f0e8c76..a28d8be8f57 100644
--- a/standalone-container/src/main/java/com/yahoo/container/standalone/LocalFileDb.java
+++ b/standalone-container/src/main/java/com/yahoo/container/standalone/LocalFileDb.java
@@ -38,7 +38,7 @@ public class LocalFileDb implements FileAcquirer, FileRegistry {
synchronized (this) {
File file = fileReferenceToFile.get(reference);
if (file == null) {
- throw new RuntimeException("Invalid file reference " + reference);
+ return new File(reference.value()); // Downloaded file reference: Will (hopefully) be resolved client side
}
return file;
}