examples: Display the actual cause for a failed command.
This commit is contained in:
parent
1d9fe3553e
commit
cb59d60034
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue