From 87e9bb76de8369aaaa3c76d020b2496d67f307ab Mon Sep 17 00:00:00 2001 From: "focp212@naver.com" Date: Wed, 5 Nov 2025 16:59:57 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=90=EB=9F=AC=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/transaction/billing/charge-page.tsx | 3 +-- src/shared/configs/query.ts | 4 ++-- src/shared/configs/sentry/index.tsx | 6 ------ src/widgets/error-boundaries/global-api-error-boundary.tsx | 7 +++++++ 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pages/transaction/billing/charge-page.tsx b/src/pages/transaction/billing/charge-page.tsx index 403f865..f14ec17 100644 --- a/src/pages/transaction/billing/charge-page.tsx +++ b/src/pages/transaction/billing/charge-page.tsx @@ -85,12 +85,11 @@ export const BillingChargePage = () => { }, 3000); }).catch((e: any) => { - /* + alert(e) if(e.response?.data?.message){ showAlert(e.response?.data?.message); return; } - */ }); }; diff --git a/src/shared/configs/query.ts b/src/shared/configs/query.ts index 5a2d723..3629175 100644 --- a/src/shared/configs/query.ts +++ b/src/shared/configs/query.ts @@ -6,13 +6,13 @@ const globalQueryClient = new QueryClient({ // 사용자에게 에러상태를 즉시 보여주기 위해 retry false로 지정 retry: false, refetchOnWindowFocus: true, - throwOnError: true, + throwOnError: false, // suspense: true, networkMode: 'always', }, mutations: { - throwOnError: true, + throwOnError: false, networkMode: 'always', }, }, diff --git a/src/shared/configs/sentry/index.tsx b/src/shared/configs/sentry/index.tsx index 99c94aa..3a82d22 100644 --- a/src/shared/configs/sentry/index.tsx +++ b/src/shared/configs/sentry/index.tsx @@ -114,12 +114,6 @@ const Pages = () => { } /> - }> - }> - - - - diff --git a/src/widgets/error-boundaries/global-api-error-boundary.tsx b/src/widgets/error-boundaries/global-api-error-boundary.tsx index b93cbb6..4dd5000 100644 --- a/src/widgets/error-boundaries/global-api-error-boundary.tsx +++ b/src/widgets/error-boundaries/global-api-error-boundary.tsx @@ -42,10 +42,17 @@ export const GlobalAPIErrorBoundary = ({ children }: Props) => { const { reset } = useQueryErrorResetBoundary(); const { key } = useLocation(); return ( + /* { children } + */ + { children } ); };