diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-04-29 18:57:05 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-04-29 18:57:05 -0600 |
commit | 39ff80d031c5c9c1831ba5ea597c0de0181bfe34 (patch) | |
tree | 8a52bc4f5a42040ef8fd09b20e88b3bcaf30cc05 /src/libstore/binary-cache-store.cc | |
parent | 2d0f766a778ac790be1ab1918db7c319ac7e5792 (diff) |
errorinfo constructor test
Diffstat (limited to 'src/libstore/binary-cache-store.cc')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 2 |
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(); |