From 10f2932b5a6512bd435cbb03af07a2f3e435e3f4 Mon Sep 17 00:00:00 2001 From: Morgan Collett Date: Tue, 2 Oct 2007 10:28:12 +0100 Subject: [PATCH] Add logging to _leave_error_cb --- sugar/presence/activity.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sugar/presence/activity.py b/sugar/presence/activity.py index c4c0a47a..8e536af0 100644 --- a/sugar/presence/activity.py +++ b/sugar/presence/activity.py @@ -256,10 +256,8 @@ class Activity(gobject.GObject): self.emit("joined", False, "left activity") def _leave_error_cb(self, err): - """Callback for error in async leaving of shared activity. - - XXX Add logging!""" - pass + """Callback for error in async leaving of shared activity.""" + _logger.debug('Failed to leave activity: %s', err) def leave(self): """Leave this shared activity"""