We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2c9e55 commit d63fbc3Copy full SHA for d63fbc3
logya/content.py
@@ -68,7 +68,7 @@ def parse(content: str) -> dict:
68
def read(path: Path, path_rel: Path, markdown_extensions: list) -> dict | None:
69
try:
70
doc = parse(path.read_text().strip())
71
- except UnicodeDecodeError as err:
+ except (UnicodeDecodeError, ValueError) as err:
72
print(f'Error reading/parsing: {path}\n{err}')
73
return None
74
0 commit comments