X-Git-Url: http://git.maemo.org/git/?p=theonering;a=blobdiff_plain;f=src%2Fcontacts.py;h=9906a105c259ae2d2b982ac1b935316310b26f6d;hp=8a7d16b82b3e4eefdbec2d78749b80bbd38ee6a9;hb=7ebb6c3f8cc7d5c9c0eba63a12ef859dc5241b9a;hpb=bcfa3f3542dedcef8f4b64b0b37f4642734e41f8 diff --git a/src/contacts.py b/src/contacts.py index 8a7d16b..9906a10 100644 --- a/src/contacts.py +++ b/src/contacts.py @@ -3,8 +3,10 @@ import logging import dbus import telepathy +import util.misc as misc_utils -_moduleLogger = logging.getLogger('contacts') + +_moduleLogger = logging.getLogger(__name__) class ContactsMixin(telepathy.server.ConnectionInterfaceContacts): @@ -32,6 +34,7 @@ class ContactsMixin(telepathy.server.ConnectionInterfaceContacts): raise NotImplementedError("Abstract function called") # Overwrite the dbus attribute to get the sender argument + @misc_utils.log_exception(_moduleLogger) @dbus.service.method(telepathy.CONNECTION_INTERFACE_CONTACTS, in_signature='auasb', out_signature='a{ua{sv}}', sender_keyword='sender') def GetContactAttributes(self, handles, interfaces, hold, sender):