Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

rm console.error

Blue Mouse159b0dc86223
diff --git a/apps/production/src/blog/blog.service.ts b/apps/production/src/blog/blog.service.ts
index c2332b25b..b66b2f23c 100644
--- a/apps/production/src/blog/blog.service.ts
+++ b/apps/production/src/blog/blog.service.ts
@@ -45,8 +45,7 @@ const getFileNames = async (category?: string): Promise<string[]> => {
} else {
files = (await fs.readdir(BLOG_POSTS_PATH)) as string[]
}
- } catch (reason) {
- console.error('[getFileNames]', reason)
+ } catch (_) {
return []
}
@@ -88,8 +87,7 @@ const getArticlesMetaData = async () => {
try {
dir = await fs.readdir(BLOG_POSTS_PATH)
- } catch (reason) {
- console.error('[getArticlesMetaData]', reason)
+ } catch (_) {
return null
}