From 05e5811ee35a95568b5c95225c559f6340871982 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 4 Sep 2003 15:33:49 +0000 Subject: Fixed error message --- lib/Handle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; } -- cgit v1.2.3