From 41c2196dbaa52700f760227a420414ce5936bcaa Mon Sep 17 00:00:00 2001 From: woody Date: Fri, 30 Apr 2021 12:05:25 +0900 Subject: [PATCH] [#42] feature : Add error message include property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - application.properties 추가 - server.error.include-message를 always로 설정 - 에러 발생 시, 에러 메시지까지 클라이언트에 전달하는 기능을 활성화 --- backend/src/main/resources/application.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index fa0ec5bef..0604ba03d 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -3,4 +3,6 @@ spring.datasource.username=sidedish spring.datasource.password=sidedish spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +server.error.include-message=always + logging.level.sql=DEBUG