callicoder / spring-security-react-ant-design-polls-app

Full Stack Polls App built using Spring Boot, Spring Security, JWT, React, and Ant Design
https://www.callicoder.com/spring-boot-spring-security-jwt-mysql-react-app-part-1/
1.77k stars 1.07k forks source link

Update application.properties #86

Open Micron818 opened 11 months ago

Micron818 commented 11 months ago

resolve the result miss error message, ex. curl --location --request GET 'localhost:8080/api/polls/0' { "timestamp": "2023-11-24T15:20:35.530+00:00", "status": 404, "error": "Not Found", "message": "Poll not found with id : '0'", "path": "/api/polls/0" }

Micron818 commented 11 months ago

resolve the result exception miss message before:

{
"timestamp": "2023-11-24T15:20:35.530+00:00",
"status": 404,
"error": "Not Found",
"path": "/api/polls/0"
}

resolved:

{
"timestamp": "2023-11-24T15:20:35.530+00:00",
"status": 404,
"error": "Not Found",
"message": "Poll not found with id : '0'",
"path": "/api/polls/0"
}