diff options
author | Philipp Hörist <philipp@hoerist.com> | 2019-02-11 23:14:13 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2019-02-11 23:30:21 +0300 |
commit | f5e499ce9323404ed4a9deda07bc240e8008ddb6 (patch) | |
tree | 7073ddafe96f30f7eb69de259b905ead41d00e62 /nbxmpp/modules | |
parent | 4feb9d4a2e434fd8c4d21210cb4bd2f367dceb03 (diff) |
Simplify MucConfigResult
Diffstat (limited to 'nbxmpp/modules')
-rw-r--r-- | nbxmpp/modules/muc.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nbxmpp/modules/muc.py b/nbxmpp/modules/muc.py index 10a1930..4534931 100644 --- a/nbxmpp/modules/muc.py +++ b/nbxmpp/modules/muc.py @@ -364,9 +364,7 @@ class MUC: @callback def _config_received(self, stanza): if not isResultNode(stanza): - log.info('Error: %s', stanza.getError()) - return MucConfigResult(jid=stanza.getFrom(), - error=stanza.getError()) + return raise_error(log.info, stanza) jid = stanza.getFrom() payload = stanza.getQueryPayload() |