summaryrefslogtreecommitdiff
path: root/lib/Main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Main.cc')
-rw-r--r--lib/Main.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Main.cc b/lib/Main.cc
index b690532..d5048ba 100644
--- a/lib/Main.cc
+++ b/lib/Main.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Main.cc,v 1.12 2004-11-27 21:46:04 pixel Exp $ */
+/* $Id: Main.cc,v 1.13 2004-12-12 23:01:08 pixel Exp $ */
#ifdef _WIN32
#include <windows.h>
@@ -67,9 +67,12 @@ int Main::truemain(Main * Application, int argc, char ** argv, char ** enve) {
Base::printm(M_ERROR, _("The application caused an exception: %s\n"), e.GetMsg());
return -1;
}
+#define LET_EXCEPTIONS_GO
+#ifndef LET_EXCEPTIONS_GO
catch (...) {
Base::printm(M_ERROR, _("The application caused an unknow exception\n"));
return -1;
}
+#endif
return r;
}