Fix: 보스 레이드 입장 시 503 응답 처리 추가
- BossRaidAccessAsync에서 ServiceUnavailable(503) 응답도 입장 거절로 처리 - 기존에는 503이 예외로 빠져 불필요한 3회 재시도 후 실패 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -162,9 +162,10 @@ public class RestApi : Singleton<RestApi>
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 400: 입장 조건 미충족 / 409: 이미 레이드 중 등
|
// 400: 입장 조건 미충족 / 409: 이미 레이드 중 / 503: 이용 가능한 방 없음
|
||||||
if (response.StatusCode == HttpStatusCode.BadRequest ||
|
if (response.StatusCode == HttpStatusCode.BadRequest ||
|
||||||
response.StatusCode == HttpStatusCode.Conflict)
|
response.StatusCode == HttpStatusCode.Conflict ||
|
||||||
|
response.StatusCode == HttpStatusCode.ServiceUnavailable)
|
||||||
{
|
{
|
||||||
Log.Warning("[RestApi] 보스 레이드 입장 거절 ({Status}) BossId={BossId}",
|
Log.Warning("[RestApi] 보스 레이드 입장 거절 ({Status}) BossId={BossId}",
|
||||||
(int)response.StatusCode, bossId);
|
(int)response.StatusCode, bossId);
|
||||||
|
|||||||
Reference in New Issue
Block a user