From ea592cdcf7f2149acc0fc37d15da500ccdebff2d Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 19 Mar 2010 08:20:58 +0100 Subject: [PATCH] fix call to notify_another_way --- src/notify.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/notify.py b/src/notify.py index bbd74463a..bc934578d 100644 --- a/src/notify.py +++ b/src/notify.py @@ -630,8 +630,8 @@ class DesktopNotification: dbus.UInt32(timeout*1000), reply_handler=self.attach_by_id, error_handler=self.notify_another_way) - except Exception: - self.notify_another_way() + except Exception, e: + self.notify_another_way(e) else: try: self.notif.Notify( @@ -645,8 +645,8 @@ class DesktopNotification: dbus.UInt32(timeout*1000), reply_handler=self.attach_by_id, error_handler=self.notify_another_way) - except Exception: - self.notify_another_way() + except Exception, e: + self.notify_another_way(e) def attach_by_id(self, id_): self.id = id_