Skip to content

Commit

Permalink
fix: 4차 MVP 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dldmsql committed Sep 24, 2024
1 parent 8bf27cf commit 2a9dba8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class DiscordApiClient(
"tts": false,
"embeds": [{
"title": "서버 에러 발생",
"description": "에러 코드 : ${errorCode} \n 트레이스 : $trace \n 메세지 : ${message ?: "메시지 없음"}"
"description": "${message ?: "메시지 없음"}"
}]
}
""".trimIndent()
Expand Down

0 comments on commit 2a9dba8

Please sign in to comment.