diff --git a/src/main/kotlin/com/ddd/sonnypolabobe/domain/board/repository/BoardJooqRepositoryImpl.kt b/src/main/kotlin/com/ddd/sonnypolabobe/domain/board/repository/BoardJooqRepositoryImpl.kt index 79ba25e..130129a 100644 --- a/src/main/kotlin/com/ddd/sonnypolabobe/domain/board/repository/BoardJooqRepositoryImpl.kt +++ b/src/main/kotlin/com/ddd/sonnypolabobe/domain/board/repository/BoardJooqRepositoryImpl.kt @@ -276,7 +276,7 @@ class BoardJooqRepositoryImpl( .and(genderAndAgeGroupMatch(userGender, userAgeGroup)) ) .orderBy(field("sub_query.polaroid_count", Int::class.java).desc(), jBoard.CREATED_AT.desc()) - .limit(8) + .limit(16) .fetchInto(String::class.java) } diff --git a/src/main/kotlin/com/ddd/sonnypolabobe/global/security/JwtExceptionFilter.kt b/src/main/kotlin/com/ddd/sonnypolabobe/global/security/JwtExceptionFilter.kt index e2aa0db..1fe39d8 100644 --- a/src/main/kotlin/com/ddd/sonnypolabobe/global/security/JwtExceptionFilter.kt +++ b/src/main/kotlin/com/ddd/sonnypolabobe/global/security/JwtExceptionFilter.kt @@ -43,10 +43,10 @@ class JwtExceptionFilter( val message = "\n" + "[REQUEST] ${request.method} - ${request.requestURI} ${responseWrapper.status} - ${(endedAt - startedAt) / 10000.0} \n" + - "Headers : ${getHeaders(request)} \n" + - "Parameters : ${getRequestParams(request)} \n" + - "Request body : ${getRequestBody(requestWrapper)} \n" + - "Response body : ${getResponseBody(responseWrapper)}" + "Headers - ${getHeaders(request)} \n" + + "Parameters - ${getRequestParams(request)} \n" + + "Request body - ${getRequestBody(requestWrapper)} \n" + + "Response body - ${getResponseBody(responseWrapper)}" logger().error(message) if (responseWrapper.status >= 400 && getResponseBody(responseWrapper).contains( CustomErrorCode.INTERNAL_SERVER_EXCEPTION.message diff --git a/src/main/kotlin/com/ddd/sonnypolabobe/global/util/DiscordApiClient.kt b/src/main/kotlin/com/ddd/sonnypolabobe/global/util/DiscordApiClient.kt index 7b237ec..e36bd39 100644 --- a/src/main/kotlin/com/ddd/sonnypolabobe/global/util/DiscordApiClient.kt +++ b/src/main/kotlin/com/ddd/sonnypolabobe/global/util/DiscordApiClient.kt @@ -50,7 +50,7 @@ class DiscordApiClient( "tts": false, "embeds": [{ "title": "서버 에러 발생", - "description": "에러 코드 : ${errorCode} \n 트레이스 : $trace \n 메세지 : ${message ?: "메시지 없음"}" + "description": "${message ?: "메시지 없음"}" }] } """.trimIndent()