plugin XEP-0045: log "failure" on configure error

This commit is contained in:
Goffi 2019-07-06 15:51:48 +02:00
commit c857c375fc

View file

@ -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):