From 4ecaa1adbbe40b06e2ab97b781bf3be11f004f9b Mon Sep 17 00:00:00 2001 From: Zhengen TANG Date: Mon, 14 Sep 2026 14:44:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=8B=89=E5=8F=96=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E6=97=B6=E6=89=93=E5=8D=B0=E8=AF=A6=E7=BB=86=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=97=A5=E5=BF=97=EF=BC=8C=E4=BE=BF=E4=BA=8E=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E7=8E=AF=E5=A2=83=E6=8E=92=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/page.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/page.tsx b/app/page.tsx index d1c381d..0a61b33 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -12,7 +12,11 @@ export default async function Home() { const homePage = await getPreviewOrFallback( "home.homepage", "body,seo_title_override,seo_description_override", - () => getHomePage().catch(() => null), + () => + getHomePage().catch((err) => { + console.error("getHomePage failed:", err); + return null; + }), ); if (!homePage) {