Open Micron818 opened 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"
}
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" }