summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/pubsub_client.py2
1 files changed, 1 insertions, 1 deletions
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):