summaryrefslogtreecommitdiff
path: root/lib/Handle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Handle.cc')
-rw-r--r--lib/Handle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc
index 279678d..e3ed198 100644
--- a/lib/Handle.cc
+++ b/lib/Handle.cc
@@ -197,7 +197,7 @@ void Handle::close() throw (GeneralException) {
if (err == Z_ERRNO) {
throw GeneralException(String(_("Error during close: ")) + strerror(errno));
} else {
- throw GeneralException(_("Error in zlib during gzclose."));
+ throw GeneralException(String(_("Error in zlib during gzclose: ")) + gzerror(zfile, &err));
}
}
} else {