diff --git a/apps/st/src/components/module/DataGrid.tsx b/apps/st/src/components/module/DataGrid.tsx index fea761a3f..dd2f84f6f 100644 --- a/apps/st/src/components/module/DataGrid.tsx +++ b/apps/st/src/components/module/DataGrid.tsx @@ -955,7 +955,7 @@ const DataGrid = ({ try { gv.commit?.(); } catch { - /* ignore */ + console.error('commit error'); } const ds = gv.getDataSource(); if (!ds) return rowDataRef.current.map((r) => ({ ...r })); @@ -1954,7 +1954,7 @@ useEffect(() => { } | undefined; if (!gv?.getDataSource) return []; - try { gv.commit?.(); } catch { /* ignore */ } + try { gv.commit?.(); } catch { console.error('commit error'); } const ds = gv.getDataSource(); if (!ds) return []; const cnt = ds.getRowCount(); @@ -2022,7 +2022,7 @@ useEffect(() => { column.footer.styleName = styleName; } } catch { - /* ignore */ + console.error('총계 스타일 재적용/초기화 error'); } }); gridView.refresh?.(); diff --git a/apps/st/src/components/module/TabDataGrid.tsx b/apps/st/src/components/module/TabDataGrid.tsx index 04b372333..3da27a42d 100644 --- a/apps/st/src/components/module/TabDataGrid.tsx +++ b/apps/st/src/components/module/TabDataGrid.tsx @@ -104,7 +104,7 @@ function safeGridViewRefresh(gv: { refresh?: () => void } | null | undefined) { try { gv.refresh(); } catch { - /* noop */ + console.error('refresh error'); } } diff --git a/apps/st/src/components/module/VerificationResultDialog.tsx b/apps/st/src/components/module/VerificationResultDialog.tsx index f52eeb1d1..4fda1f5a0 100644 --- a/apps/st/src/components/module/VerificationResultDialog.tsx +++ b/apps/st/src/components/module/VerificationResultDialog.tsx @@ -68,7 +68,7 @@ function setRowCheckByItemIndex( try { gv?.checkItem?.(itemIndex, checked, false); } catch { - /* RealGrid 체크 API 미지원 등 */ + console.error('RealGrid 체크 API error'); } } diff --git a/apps/st/src/components/module/VerificationResultHistoryDialog.tsx b/apps/st/src/components/module/VerificationResultHistoryDialog.tsx index 958ccf40d..9eff0b060 100644 --- a/apps/st/src/components/module/VerificationResultHistoryDialog.tsx +++ b/apps/st/src/components/module/VerificationResultHistoryDialog.tsx @@ -91,7 +91,7 @@ function uncheckGridRow(gridRef: MutableRefObject, itemInd try { (gridRef.current?.gridView as GridViewWithCheckApi | undefined)?.checkItem?.(itemIndex, false, false); } catch { - /* ignore */ + console.error('RealGrid 체크 API error'); } } diff --git a/apps/st/src/components/statistics/review/ReviewOpinionDialog.tsx b/apps/st/src/components/statistics/review/ReviewOpinionDialog.tsx index 8ddde5566..ac2232999 100644 --- a/apps/st/src/components/statistics/review/ReviewOpinionDialog.tsx +++ b/apps/st/src/components/statistics/review/ReviewOpinionDialog.tsx @@ -103,7 +103,7 @@ export function ReviewOpinionDialog({ resetForm(); onOpenChange(false); } catch { - /* 저장 실패 시 부모에서 alert 후 throw — 다이얼로그는 유지 */ + console.error('검토 의견 저장 error'); } finally { setIsSaving(false); } diff --git a/apps/st/src/pages/auth/login/ui/login-page.tsx b/apps/st/src/pages/auth/login/ui/login-page.tsx index 7d07803ba..8fbc466d5 100644 --- a/apps/st/src/pages/auth/login/ui/login-page.tsx +++ b/apps/st/src/pages/auth/login/ui/login-page.tsx @@ -24,8 +24,8 @@ function LoginPage() { await authService.login({ userId, password }); try { await statisticsApi.refreshAllCommonCodes(); - } catch { - // 로그인 성공 후 캐시 동기화 실패는 진입을 막지 않음 + } catch(error) { + console.error('로그인 실패'); } window.location.href = "/statistics"; } catch (error) {