diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/admin/chat/character/AdminChatCharacterController.kt b/src/main/kotlin/kr/co/vividnext/sodalive/admin/chat/character/AdminChatCharacterController.kt index 9c05dca..95f848c 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/admin/chat/character/AdminChatCharacterController.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/admin/chat/character/AdminChatCharacterController.kt @@ -172,8 +172,9 @@ class AdminChatCharacterController( // success가 true이면 data.id 반환 return apiResponse.data?.id ?: throw SodaException("등록에 실패했습니다. 응답에 ID가 없습니다.") - } catch (_: Exception) { - throw SodaException("등록에 실패했습니다. 다시 시도해 주세요.") + } catch (e: Exception) { + e.printStackTrace() + throw SodaException("${e.message}, 등록에 실패했습니다. 다시 시도해 주세요.") } }