summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/logger.py2
1 files changed, 1 insertions, 1 deletions
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