Log SASL mechanism on failure. Closes GH-1014.

This commit is contained in:
Valentin Lorentz 2019-11-02 20:52:58 +01:00
parent 813f688858
commit 04b55805b8

View File

@ -1225,7 +1225,8 @@ class Irc(IrcCommandDispatcher, log.Firewalled):
self.endCapabilityNegociation()
def do904(self, msg):
log.warning('%s: SASL authentication failed', self.network)
log.warning('%s: SASL authentication failed (mechanism: %s)',
self.network, self.sasl_next_mechanisms[0])
self.tryNextSaslMechanism()
def do905(self, msg):