Commit 93daf173 authored by mathieui's avatar mathieui

fix: logger: handle empty log files as well

parent 18b1d5ae
......@@ -387,7 +387,7 @@ def iterate_messages_reverse(filepath: Path) -> Generator[LogDict, None, None]:
)
if lines:
yield lines[0]
except OSError:
except (OSError, ValueError):
pass
......
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