3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-02-21 07:50:45 +01:00

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

(cherry picked from commit a8bb5f66e53c9d3d3f7872587b2c752ff8a1b16d)
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