diff --git a/src/main/kotlin/top/fatweb/api/handler/ExceptionHandler.kt b/src/main/kotlin/top/fatweb/api/handler/ExceptionHandler.kt index 102aba0..e8d9150 100644 --- a/src/main/kotlin/top/fatweb/api/handler/ExceptionHandler.kt +++ b/src/main/kotlin/top/fatweb/api/handler/ExceptionHandler.kt @@ -84,7 +84,7 @@ class ExceptionHandler { else -> { logger.error(e.localizedMessage, e) - ResponseResult.fail(ResponseCode.SYSTEM_ERROR, e.localizedMessage, null) + ResponseResult.fail(ResponseCode.SYSTEM_ERROR, e.toString(), null) } } }