From b0a6fc649889b1bce5854bbee1dec66fae415796 Mon Sep 17 00:00:00 2001 From: Klaus Date: Thu, 7 Aug 2025 21:18:29 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20weraser=20api=20=EC=97=B0=EB=8F=99=20?= =?UTF-8?q?=EB=B6=80=EB=B6=84=20-=20exception=20=EB=B0=9C=EC=83=9D?= =?UTF-8?q?=EC=8B=9C=20exception=20message=EB=8F=84=20=EA=B0=99=EC=9D=B4?= =?UTF-8?q?=20=EC=B6=9C=EB=A0=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/chat/character/AdminChatCharacterController.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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}, 등록에 실패했습니다. 다시 시도해 주세요.") } }