Fix a traceback on malformed logs
This commit is contained in:
parent
50610a0684
commit
50d6edc30b
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class Logger(object):
|
||||||
log_item = parse_message_line(lines[idx])
|
log_item = parse_message_line(lines[idx])
|
||||||
idx += 1
|
idx += 1
|
||||||
if not isinstance(log_item, LogItem):
|
if not isinstance(log_item, LogItem):
|
||||||
log.debug('wrong log format? %s', tup)
|
log.debug('wrong log format? %s', log_item)
|
||||||
continue
|
continue
|
||||||
message = {'lines': [],
|
message = {'lines': [],
|
||||||
'history': True,
|
'history': True,
|
||||||
|
|
Loading…
Reference in a new issue