summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/article_scanner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/article_scanner.py b/core/article_scanner.py
index ea6579a..bb69a26 100644
--- a/core/article_scanner.py
+++ b/core/article_scanner.py
@@ -20,7 +20,7 @@ def scan_articles(blog_root: Path) -> list[Article]:
translation_path = by_slug.get((other_lang, slug))
try:
fm, _ = parse_frontmatter(path)
- except (ValueError, Exception):
+ except (ValueError, OSError):
fm = {}
articles.append(Article(
slug=slug,