From 587bc3be19059e9d894f83c59fc0b998f9ac92a5 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 2 May 2007 22:22:02 -0400 Subject: [PATCH] More verbose debug messages when starting activities --- shell/view/Shell.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell/view/Shell.py b/shell/view/Shell.py index b57df481..084a7084 100644 --- a/shell/view/Shell.py +++ b/shell/view/Shell.py @@ -136,7 +136,7 @@ class Shell(gobject.GObject): logging.debug("This activity is still launching.") return - logging.debug('Shell.start_activity') + logging.debug('Trying to start activity of type %s' % activity_type) self._activities_starting.add(activity_type) try: @@ -147,7 +147,8 @@ class Shell(gobject.GObject): activity_type) handler.connect('error', self._start_error_cb, home_model) - except: + except Exception, err: + logging.debug("Couldn't start activity of type %s: %s" % (activity_type, err)) self._activities_starting.remove(activity_type) # Zoom to Home for launch feedback