From 4db00031bdc2e17df71e7ed2e10649f74e2c7fd2 Mon Sep 17 00:00:00 2001 From: pmj1459 <76741702+minju1459@users.noreply.github.com> Date: Wed, 21 Aug 2024 14:54:15 +0900 Subject: [PATCH] =?UTF-8?q?[fix/#104]=20HTTP=20403=20=EC=97=90=EB=9F=AC=20?= =?UTF-8?q?=EC=9B=90=EC=9D=B8=20=ED=8C=8C=EC=95=85=20=ED=9B=84=20=ED=8C=80?= =?UTF-8?q?=EB=B2=84=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/dpm/presentation/seatreview/ReviewViewModel.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/presentation/src/main/java/com/dpm/presentation/seatreview/ReviewViewModel.kt b/presentation/src/main/java/com/dpm/presentation/seatreview/ReviewViewModel.kt index b9c143ea..a709e1d4 100644 --- a/presentation/src/main/java/com/dpm/presentation/seatreview/ReviewViewModel.kt +++ b/presentation/src/main/java/com/dpm/presentation/seatreview/ReviewViewModel.kt @@ -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") } }