Fix logging for vcard lookup failure.
This commit is contained in:
parent
518eee05c2
commit
41991b5982
@ -87,7 +87,7 @@ class XEP_0153(BasePlugin):
|
|||||||
new_hash = hashlib.sha1(data).hexdigest()
|
new_hash = hashlib.sha1(data).hexdigest()
|
||||||
self.api['set_hash'](self.xmpp.boundjid, args=new_hash)
|
self.api['set_hash'](self.xmpp.boundjid, args=new_hash)
|
||||||
except XMPPError:
|
except XMPPError:
|
||||||
log.debug('Could not retrieve vCard for %s' % jid)
|
log.debug('Could not retrieve vCard for %s' % self.xmpp.boundjid.bare)
|
||||||
|
|
||||||
self._allow_advertising.set()
|
self._allow_advertising.set()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user