Merge "Guard against all exceptions when processing a line"
This commit is contained in:
commit
27b28c12f2
|
@ -217,9 +217,9 @@ class LogFile(object):
|
||||||
return entry, new_entry
|
return entry, new_entry
|
||||||
entry = new_entry
|
entry = new_entry
|
||||||
|
|
||||||
except ValueError:
|
except Exception:
|
||||||
# it's a non-dated line, just append to the entry
|
# it's probably a non-dated line, or a garbled entry, just
|
||||||
# extra info
|
# append to the entry extra info
|
||||||
if entry:
|
if entry:
|
||||||
entry.append_line(line)
|
entry.append_line(line)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue