diff --git a/examples/pubsub_client.py b/examples/pubsub_client.py index c5de2cf1..c072bee1 100755 --- a/examples/pubsub_client.py +++ b/examples/pubsub_client.py @@ -40,7 +40,7 @@ class PubsubClient(slixmpp.ClientXMPP): try: yield from getattr(self, self.action)() except: - logging.error('Could not execute: %s', self.action) + logging.exception('Could not execute %s:', self.action) self.disconnect() def nodes(self):