From 993d929d07395a38648ee8338b8fc85fbf1e58de Mon Sep 17 00:00:00 2001 From: Saatvik Arya Date: Thu, 25 Jul 2024 20:20:04 -0700 Subject: [PATCH] catch --- apps/web/app/(auth)/onboarding/page.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/web/app/(auth)/onboarding/page.tsx b/apps/web/app/(auth)/onboarding/page.tsx index 722cbb60..94c54be9 100644 --- a/apps/web/app/(auth)/onboarding/page.tsx +++ b/apps/web/app/(auth)/onboarding/page.tsx @@ -28,7 +28,9 @@ export default function Home() { if (currStep > 3) { updateDb().then(() => { push("/home?q=what%20is%20supermemory"); - }); + }).catch((e) => { + console.error(e); + }); } }, [currStep]);