Skip to content

Commit

Permalink
[fix/#104] HTTP 403 에러 원인 파악 후 팀버 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
minju1459 committed Aug 21, 2024
1 parent 0380462 commit 4db0003
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,14 +362,6 @@ class ReviewViewModel @Inject constructor(
}
.onFailure { t ->
if (t is HttpException) {
val errorCode = t.code() // HTTP 상태 코드 (403)
val errorBody = t.response()?.errorBody()?.string() // 응답 본문
val errorHeaders = t.response()?.headers()?.toString() // 응답 헤더

Timber.e("POST REVIEW FAILURE: HTTP $errorCode")
Timber.e("Error Body: $errorBody")
Timber.e("Error Headers: $errorHeaders")
} else {
Timber.e("POST REVIEW FAILURE: $t")
}
}
Expand Down

0 comments on commit 4db0003

Please sign in to comment.