From fd9e932b2323da606f43d54593552d4e740e6c0f Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Fri, 14 Oct 2011 10:28:41 +0000
Subject: [PATCH] catch all exceptions

[[Imported from SVN: r7909]]
---
 test/localgfetestfunctiontest.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/test/localgfetestfunctiontest.cc b/test/localgfetestfunctiontest.cc
index d9173d32..c158b6d5 100644
--- a/test/localgfetestfunctiontest.cc
+++ b/test/localgfetestfunctiontest.cc
@@ -57,7 +57,7 @@ void test()
 }
 
 
-int main()
+int main() try
 {
     // choke on NaN -- don't enable this by default, as there are
     // a few harmless NaN in the loopsolver
@@ -74,4 +74,8 @@ int main()
         
     test<Rotation<3,double>, 1>();
     test<Rotation<3,double>, 2>();
+
+} catch (Exception e) {
+    std::cout << e << std::endl;
 }
+
-- 
GitLab