plugin XEP-0045: log "failure" on configure error
This commit is contained in:
parent
59faac55fe
commit
c857c375fc
1 changed files with 6 additions and 4 deletions
|
|
@ -237,7 +237,8 @@ class XEP_0045(object):
|
|||
# a proper configuration management should be done
|
||||
log.debug(_(u"room locked !"))
|
||||
d = client._muc_client.configure(room.roomJID, {})
|
||||
d.addErrback(lambda __: log.error(_(u'Error while configuring the room')))
|
||||
d.addErrback(self.host.logErrback,
|
||||
msg=_(u'Error while configuring the room: {failure_}'))
|
||||
return room.fully_joined
|
||||
|
||||
def _joinEb(self, failure, client, room_jid, nick, password):
|
||||
|
|
|
|||
Loading…
Reference in a new issue