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() } }