diff --git a/Appl/CEP/CS1/CS1_Storage/src/MSWriter.cc b/Appl/CEP/CS1/CS1_Storage/src/MSWriter.cc
index 2ee69796a715dd0eb05816d6ccef6b99c270312c..42bf67d200f7ef1303cf1446c6b61bfb93ddf391 100644
--- a/Appl/CEP/CS1/CS1_Storage/src/MSWriter.cc
+++ b/Appl/CEP/CS1/CS1_Storage/src/MSWriter.cc
@@ -125,8 +125,9 @@ namespace LOFAR
       } catch (AipsError x) {
         cerr << "AIPS exception in MSWriterImpl: " << x.getMesg() << endl;
         exit(0);
-      } catch (...) {
-        cerr << "Unexpected MSWriter exception during write" << endl;
+      } catch (std::exception &ex)  {
+        cerr << "Unexpected MSWriter exception during write:" << ex.what() << endl;
+	perror("perror returns: ");
         exit(0);
       }
     }