diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreActionCache.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreActionCache.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreActionCache.java b/src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreActionCache.java index d9c67dce4a..21ad4489bb 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreActionCache.java +++ b/src/main/java/com/google/devtools/build/lib/remote/SimpleBlobStoreActionCache.java @@ -196,7 +196,7 @@ public final class SimpleBlobStoreActionCache extends AbstractRemoteActionCache ByteArrayOutputStream out = new ByteArrayOutputStream(); boolean success = blobStore.getActionResult(digest.getHash(), out); if (!success) { - throw new CacheNotFoundException(digest); + throw new CacheNotFoundException(digest, digestUtil); } return out.toByteArray(); } @@ -216,7 +216,7 @@ public final class SimpleBlobStoreActionCache extends AbstractRemoteActionCache try (OutputStream out = dest.getOutputStream()) { boolean success = blobStore.get(digest.getHash(), out); if (!success) { - throw new CacheNotFoundException(digest); + throw new CacheNotFoundException(digest, digestUtil); } } } @@ -229,7 +229,7 @@ public final class SimpleBlobStoreActionCache extends AbstractRemoteActionCache try (ByteArrayOutputStream out = new ByteArrayOutputStream()) { boolean success = blobStore.get(digest.getHash(), out); if (!success) { - throw new CacheNotFoundException(digest); + throw new CacheNotFoundException(digest, digestUtil); } return out.toByteArray(); } |