Skip to content

Commit 74073b2

Browse files
committed
irclib: Log the server's error message on SASL failure.
1 parent e638586 commit 74073b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/irclib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,8 +1992,8 @@ def do903(self, msg):
19921992
self.endCapabilityNegociation(msg)
19931993

19941994
def do904(self, msg):
1995-
log.warning('%s: SASL authentication failed (mechanism: %s)',
1996-
self.network, self.sasl_current_mechanism)
1995+
log.warning('%s: SASL authentication failed (mechanism: %s): %s',
1996+
self.network, self.sasl_current_mechanism, msg.args[-1])
19971997
self.tryNextSaslMechanism(msg)
19981998

19991999
def do905(self, msg):

0 commit comments

Comments
 (0)