Forgot to log exceptions for these calls, no wonder it was harder to find the issue
authorEd Page <eopage@byu.net>
Tue, 22 Jun 2010 11:43:29 +0000 (06:43 -0500)
committerEd Page <eopage@byu.net>
Tue, 22 Jun 2010 11:43:29 +0000 (06:43 -0500)
src/capabilities.py

index ebb51ce..1490e9f 100644 (file)
@@ -86,6 +86,7 @@ class CapabilitiesMixin(
                                ret.append([handleId, type, gen, spec])
                return ret
 
+       @misc_utils.log_exception(_moduleLogger)
        def GetContactCapabilities(self, handles):
                if 0 in handles:
                        raise telepathy.InvalidHandle('Contact handle list contains zero')
@@ -98,5 +99,6 @@ class CapabilitiesMixin(
 
                return ret
 
+       @misc_utils.log_exception(_moduleLogger)
        def UpdateCapabilities(self, caps):
                _moduleLogger.info("Ignoring updating contact capabilities")