Skip to content

Commit 857e801

Browse files
add more error logs
1 parent 5aeec4a commit 857e801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inlang/packages/website/src/pages/m/+onBeforeRender.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export default async function onBeforeRender(pageContext: PageContext) {
152152
pageData = readmeMarkdown?.frontmatter;
153153
}
154154
} catch (error) {
155-
console.error("Error while accessing the readme file");
155+
console.error("Error while accessing the readme file", error);
156156
throw redirect("/not-found", 301);
157157
}
158158
} else {

0 commit comments

Comments
 (0)