Commit 50d6edc3 authored by mathieui's avatar mathieui

Fix a traceback on malformed logs

parent 50610a06
...@@ -188,7 +188,7 @@ class Logger(object): ...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment