frontends: async failures are more detailed (full class name + error message)
This commit is contained in:
parent
b9106c65d6
commit
a5dd35ce65
1 changed files with 18 additions and 20 deletions
|
|
@ -41,7 +41,7 @@ class Disco(base.CommandBase):
|
|||
self.host.bridge.discoInfos(jid, profile_key=self.host.profile, callback=lambda infos: self.gotInfos(infos, jid), errback=self.error)
|
||||
|
||||
def error(self, failure):
|
||||
print (_("Error while doing discovery"))
|
||||
print (_("Error while doing discovery [%s]") % failure)
|
||||
self.host.quit(1)
|
||||
|
||||
def gotInfos(self, infos, jid):
|
||||
|
|
|
|||
Loading…
Reference in a new issue