From 9a91cd8470c8ba9f611e76e302d4974361218f57 Mon Sep 17 00:00:00 2001 From: kimyujin-com <80165026+kimyujin-com@users.noreply.github.com> Date: Tue, 20 Feb 2024 18:30:05 +0900 Subject: [PATCH] =?UTF-8?q?Remove:=20=EC=BB=A4=EB=A6=AC=EC=96=B4=20?= =?UTF-8?q?=EB=8D=94=ED=95=98=EA=B8=B0=20=EB=B6=88=ED=95=84=EC=9A=94=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/ui/career/viewmodel/CareerAddActivityViewModel.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerAddActivityViewModel.kt b/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerAddActivityViewModel.kt index 5c93e9e..4ce6d01 100644 --- a/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerAddActivityViewModel.kt +++ b/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerAddActivityViewModel.kt @@ -70,7 +70,6 @@ class CareerAddActivityViewModel : ViewModel() { } fun addImageFile(file: File) { - Log.d("imagePath", file.toString()) val requestFile = RequestBody.create("image/*".toMediaTypeOrNull(), file) val body = MultipartBody.Part.createFormData("image", file.name, requestFile) imageList.add(body) @@ -180,8 +179,6 @@ class CareerAddActivityViewModel : ViewModel() { } ?: RuntimeException("Unknown error") } catch (e: Exception) { Log.e("addCareerInfo", "addCareer:Extras API 오류: ${e.message}") - val errorMessage = response.errorBody()?.string() - Log.e("addCareerInfo", "addCareer:Extras API 오류: $errorMessage") e.printStackTrace() } }