3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-28 13:39:27 +01:00

clientbot: log the entire args list when splitting /names reply fails

(cherry picked from commit a8bb5f66e5)
This commit is contained in:
James Lu 2019-04-29 11:58:18 -07:00
parent 739c87ef50
commit 7e088dfacb

View File

@ -692,7 +692,7 @@ class ClientbotWrapperProtocol(IRCCommonProtocol):
try:
nick, ident, host = utils.split_hostmask(nick)
except ValueError:
log.exception('(%s) Failed to split hostmask %r from /names reply on %s', self.name, nick, channel)
log.exception('(%s) Failed to split hostmask %r from /names reply on %s; args=%s', self.name, nick, channel, args)
# If error, leave nick unsplit
# Get the PUID for the given nick. If one doesn't exist, spawn