fix(admin): 공연 등록 실패 시 에러 안내 및 제출 중 상태 처리 - #448
Closed
ryanproback wants to merge 1 commit into
Closed
ryanproback wants to merge 1 commit into
ryanproback wants to merge 1 commit into
Conversation
공연 등록 제출 핸들러에 예외 처리가 없어 요청이 실패해도 unhandled rejection 으로 조용히 삼켜졌다. 2026-08-19 WAF(ModSecurity 932130) 오탐으로 POST /web/v1/host/shows 가 403 으로 막혔을 때, 사용자에게는 "버튼을 눌러도 아무 반응이 없는" 상태로만 보여 원인 파악이 어려웠다. - 티켓 판매 공연/미판매 공연 등록 모두 try-catch 로 감싸고 실패 토스트 노출 - 제출 중에는 버튼을 비활성화하고 "등록 중..." 으로 표시해 중복 요청 방지 (실제로 같은 사용자가 45회 재시도해 이미지 업로드 URL 180건이 발급됨) Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
✅ Deploy Preview for dev-place-boolti ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Member
|
#462 에서 반영하겠습니다! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
문제
2026-08-19 오전, 주최자가 PC에서 공연 등록 마지막(사전 질문) 단계에서 CTA를 눌러도 아무 반응이 없다는 문의가 들어왔다.
실제 원인은 서버 앞단 WAF(ModSecurity 932130) 오탐으로
POST /web/v1/host/shows가 403으로 차단된 것이었다(→ team-fire-squirrel/boolti-api#388). 다만 어떤 이유로 실패하든 사용자에게는 "먹통"으로만 보이는 프론트 문제가 함께 있었다.ShowAddPage의 제출 핸들러에 예외 처리가 없어 요청이 실패하면 unhandled rejection으로 조용히 삼켜지고, 토스트도 로딩 표시도 뜨지 않는다.그 결과 사용자는 버튼을 계속 눌렀고, 서버에는 이미지 업로드 URL 발급 요청이 180건(45회 재시도 × 4) 쌓였다.
변경
try-catch로 감싸고 실패 시 토스트 노출공연을 등록하지 못했어요. 잠시 후 다시 시도해 주세요.console.error로 남겨 디버깅 가능하게 유지등록 중...으로 변경해 중복 요청 방지테스트
등록 중...표시🤖 Generated with Claude Code