aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/binary-cache-store.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-04-29 18:57:05 -0600
committerBen Burdette <bburdette@gmail.com>2020-04-29 18:57:05 -0600
commit39ff80d031c5c9c1831ba5ea597c0de0181bfe34 (patch)
tree8a52bc4f5a42040ef8fd09b20e88b3bcaf30cc05 /src/libstore/binary-cache-store.cc
parent2d0f766a778ac790be1ab1918db7c319ac7e5792 (diff)
errorinfo constructor test
Diffstat (limited to 'src/libstore/binary-cache-store.cc')
-rw-r--r--src/libstore/binary-cache-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc
index 4b7385c6b..97e34a75d 100644
--- a/src/libstore/binary-cache-store.cc
+++ b/src/libstore/binary-cache-store.cc
@@ -284,7 +284,7 @@ void BinaryCacheStore::narFromPath(const StorePath & storePath, Sink & sink)
try {
getFile(info->url, *decompressor);
} catch (NoSuchBinaryCacheFile & e) {
- throw SubstituteGone(e.what());
+ throw SubstituteGone(e.info());
}
decompressor->finish();