mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-26 04:32:51 +01:00
irclib: Log the server's error message on SASL failure.
This commit is contained in:
parent
e63858659a
commit
74073b2736
@ -1992,8 +1992,8 @@ class Irc(IrcCommandDispatcher, log.Firewalled):
|
|||||||
self.endCapabilityNegociation(msg)
|
self.endCapabilityNegociation(msg)
|
||||||
|
|
||||||
def do904(self, msg):
|
def do904(self, msg):
|
||||||
log.warning('%s: SASL authentication failed (mechanism: %s)',
|
log.warning('%s: SASL authentication failed (mechanism: %s): %s',
|
||||||
self.network, self.sasl_current_mechanism)
|
self.network, self.sasl_current_mechanism, msg.args[-1])
|
||||||
self.tryNextSaslMechanism(msg)
|
self.tryNextSaslMechanism(msg)
|
||||||
|
|
||||||
def do905(self, msg):
|
def do905(self, msg):
|
||||||
|
Loading…
Reference in New Issue
Block a user