about summary refs log tree commit diff
path: root/src/libutil/compression.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-21T18·23+0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-21T18·23+0100
commit895a74a814cd67cd2e13d0621603583a2d15b159 (patch)
tree200ff43144d85b851c69d641a363639ffc8bfa37 /src/libutil/compression.hh
parented5c0f69f28732879a7aac2d67367446f6d3152d (diff)
LocalFSStore::getBuildLog(): Handle corrupted logs
Diffstat (limited to 'src/libutil/compression.hh')
-rw-r--r--src/libutil/compression.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/compression.hh b/src/libutil/compression.hh
index eacf559d65e9..e3e6f5a99303 100644
--- a/src/libutil/compression.hh
+++ b/src/libutil/compression.hh
@@ -21,4 +21,6 @@ ref<CompressionSink> makeCompressionSink(const std::string & method, Sink & next
 
 MakeError(UnknownCompressionMethod, Error);
 
+MakeError(CompressionError, Error);
+
 }