[geary/wip/gtkapp] Clean up error handling



commit f6deeb7d589776556c99badadbe55637b4d4f331
Author: Charles Lindsay <chaz yorba org>
Date:   Fri Dec 6 12:30:47 2013 -0800

    Clean up error handling

 src/client/application/geary-application.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/client/application/geary-application.vala b/src/client/application/geary-application.vala
index a88ae74..a43e3e0 100644
--- a/src/client/application/geary-application.vala
+++ b/src/client/application/geary-application.vala
@@ -123,8 +123,7 @@ along with Geary; if not, write to the Free Software Foundation, Inc.,
         try {
             register();
         } catch (Error e) {
-            // TODO
-            Posix.exit(1);
+            error("Error registering GearyApplication: %s", e.message);
         }
         
         Args.parse(args);


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