Skip to content

Commit db22dda

Browse files
committed
Fixing empty catch block error
1 parent 50e9507 commit db22dda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/getMarkdownContent.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export function getMarkdownContent() {
426426
return readAndProcessMarkdown(indexPath, pathStr);
427427
}
428428
} catch (error) {
429-
return `<!-- Error reading markdown file: ${error} -->`;
429+
// Silently catch errors during markdown file lookup to continue with fallback strategies
430430
}
431431
}
432432
}
@@ -530,6 +530,7 @@ export function getMarkdownContent() {
530530
}
531531
}
532532
} catch (error) {
533+
// Silently catch errors during markdown file search to continue with fallback strategies
533534
}
534535
}
535536

0 commit comments

Comments
 (0)