Skip to content

Commit 6fc0409

Browse files
authored
Merge pull request #192 from Runnect/dev
[Debug] 500 μ—λŸ¬ 원인 νŒŒμ•…μ„ μœ„ν•œ μ˜ˆμ™Έ ν•Έλ“€λŸ¬ λ‘œκΉ… μΆ”κ°€
2 parents d3052de + dfe865a commit 6fc0409

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

β€Ž.github/workflows/dev-ci.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ jobs:
4848
run: chmod +x gradlew
4949

5050
- name: Build with Gradle # μ‹€μ œ application build
51-
run: ./gradlew build -PactiveProfiles=local
51+
run: ./gradlew build -PactiveProfiles=local -x test

β€Žsrc/main/java/org/runnect/server/common/advice/ControllerExceptionAdvice.javaβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ protected ApiResponseDto handleMissingRequestParameterException(final MissingSer
7373
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
7474
@ExceptionHandler(Exception.class)
7575
protected ApiResponseDto<Object> handleException(final Exception error, final HttpServletRequest request) {
76+
log.error("[500 ERROR] {} {}", request.getMethod(), request.getRequestURI(), error);
7677
try {
7778
slackApi.sendAlert(error, request);
7879
} catch (Exception e) {

0 commit comments

Comments
Β (0)