Optimized username not found message

This commit is contained in:
2023-10-09 18:17:06 +08:00
parent 4ac8711267
commit 88341b50fd

View File

@@ -40,7 +40,7 @@ class ExceptionHandler {
is InternalAuthenticationServiceException -> { is InternalAuthenticationServiceException -> {
log.debug(e.localizedMessage, e) log.debug(e.localizedMessage, e)
ResponseResult.fail(ResponseCode.SYSTEM_USERNAME_NOT_FOUND, e.localizedMessage, null) ResponseResult.fail(ResponseCode.SYSTEM_USERNAME_NOT_FOUND, "Username not found", null)
} }
is BadCredentialsException -> { is BadCredentialsException -> {