summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Handle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc
index c6f7a1a..182657d 100644
--- a/lib/Handle.cc
+++ b/lib/Handle.cc
@@ -332,7 +332,7 @@ void Handle::SetZ(int az) throw (GeneralException) {
printm(M_INFO, String(_("Performing gzdopen on handle ")) + h + _(" with mode \"") + format + "\"\n");
#endif
if (!(zfile = gzdopen(h, format))) {
- throw GeneralException(_("Was not able to gzdopen."));
+ throw GeneralException(String(_("Was not able to gzdopen: ")) + strerror(errno));
}
z = az;
}