More verbose debug messages when starting activities
This commit is contained in:
parent
65998a10c6
commit
587bc3be19
@ -136,7 +136,7 @@ class Shell(gobject.GObject):
|
|||||||
logging.debug("This activity is still launching.")
|
logging.debug("This activity is still launching.")
|
||||||
return
|
return
|
||||||
|
|
||||||
logging.debug('Shell.start_activity')
|
logging.debug('Trying to start activity of type %s' % activity_type)
|
||||||
|
|
||||||
self._activities_starting.add(activity_type)
|
self._activities_starting.add(activity_type)
|
||||||
try:
|
try:
|
||||||
@ -147,7 +147,8 @@ class Shell(gobject.GObject):
|
|||||||
activity_type)
|
activity_type)
|
||||||
|
|
||||||
handler.connect('error', self._start_error_cb, home_model)
|
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)
|
self._activities_starting.remove(activity_type)
|
||||||
|
|
||||||
# Zoom to Home for launch feedback
|
# Zoom to Home for launch feedback
|
||||||
|
Loading…
Reference in New Issue
Block a user