Skip to content

[gateway] 에러 응답 형식 통일과 접근 로그 추가 - #10

Open
jyx-07 wants to merge 3 commits into
developfrom
feat/gateway-error-response
Open

jyx-07 wants to merge 3 commits into
developfrom
feat/gateway-error-response

Conversation

@jyx-07

@jyx-07 jyx-07 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

개요

게이트웨이가 만드는 에러를 같은 JSON 형식으로 돌려주고, 요청마다 ID를 붙여 로그를 남깁니다.

본문

  • 401, 404, 5xx를 { code, message } 형식으로 응답
  • 서비스 응답이 5초를 넘기면 503 대신 504 응답, 연결 타임아웃 3초 추가
  • 모든 요청에 X-Request-Id를 붙여 서비스와 응답에 전달
  • 메서드, 경로, 상태, 소요 시간, 사용자 ID를 한 줄 접근 로그로 기록

@jyx-07
jyx-07 force-pushed the feat/gateway-error-response branch from 5498322 to 15e4b76 Compare November 3, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants