Skip to content

Commit 4030905

Browse files
committed
chore : 400도 서버에러 로깅 추가
1 parent 41210e5 commit 4030905

File tree

1 file changed

+1
-1
lines changed
  • apps/Admission-LTS/src/apis/admission

1 file changed

+1
-1
lines changed

apps/Admission-LTS/src/apis/admission/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const useAdmissionSubmitPost = <T extends IAdmissionRequest>() => {
9999
setTimeout(() => {
100100
window.location.href = "https://entrydsm.kr/"
101101
}, 2000)
102-
} else if (err.response?.status === 500 || err.response?.status === 502 || err.response?.status === 503) {
102+
} else if (err.response?.status === 400 || err.response?.status === 500 || err.response?.status === 502 || err.response?.status === 503) {
103103
toast.error("일시적으로 처리할 수 없습니다. 다시 시도해 주세요.")
104104
await sendSubmissionReport(
105105
sessionId,

0 commit comments

Comments
 (0)