paperbox r192 - in trunk: . src



Author: markoa
Date: Tue Sep 30 18:08:56 2008
New Revision: 192
URL: http://svn.gnome.org/viewvc/paperbox?rev=192&view=rev

Log:
Do not exit on uncaught exceptions

Modified:
   trunk/ChangeLog
   trunk/src/main.cc

Modified: trunk/src/main.cc
==============================================================================
--- trunk/src/main.cc	(original)
+++ trunk/src/main.cc	Tue Sep 30 18:08:56 2008
@@ -49,10 +49,8 @@
     try {
         if (main_window) kit.run(*main_window); 
         delete main_window;
-    }
-    catch (const std::exception& ex) {
+    } catch (const std::exception& ex) {
         LOG_EXCEPTION(ex.what());
-        return 1;
     }
 
     return 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]