Fix a traceback on malformed logs

This commit is contained in:
mathieui 2016-08-28 16:17:24 +02:00
parent 50610a0684
commit 50d6edc30b

View file

@ -188,7 +188,7 @@ class Logger(object):
log_item = parse_message_line(lines[idx])
idx += 1
if not isinstance(log_item, LogItem):
log.debug('wrong log format? %s', tup)
log.debug('wrong log format? %s', log_item)
continue
message = {'lines': [],
'history': True,