diff --git a/poezio/logger.py b/poezio/logger.py index d30a78a3..e13db524 100644 --- a/poezio/logger.py +++ b/poezio/logger.py @@ -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