Skip to content

Commit

Permalink
[#42] feature : Add error message include property
Browse files Browse the repository at this point in the history
- application.properties 추가
  - server.error.include-message를 always로 설정
  - 에러 발생 시, 에러 메시지까지 클라이언트에 전달하는 기능을 활성화
  • Loading branch information
jihye-woo committed Apr 30, 2021
1 parent ab9fe90 commit 41c2196
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 41c2196

Please sign in to comment.