3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

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

This commit is contained in:
James Lu 2019-04-29 11:58:18 -07:00
parent ad9a51fc33
commit a8bb5f66e5

View File

@ -751,7 +751,7 @@ class ClientbotWrapperProtocol(ClientbotBaseProtocol, 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