mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +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)
|
||||
|
||||
def do904(self, msg):
|
||||
log.warning('%s: SASL authentication failed (mechanism: %s)',
|
||||
self.network, self.sasl_current_mechanism)
|
||||
log.warning('%s: SASL authentication failed (mechanism: %s): %s',
|
||||
self.network, self.sasl_current_mechanism, msg.args[-1])
|
||||
self.tryNextSaslMechanism(msg)
|
||||
|
||||
def do905(self, msg):
|
||||
|
Loading…
Reference in New Issue
Block a user