Skip to content

Commit

Permalink
Removed detail from problems when title is the same.
Browse files Browse the repository at this point in the history
  • Loading branch information
flexable777 committed Sep 22, 2023
1 parent deedfc3 commit bae6257
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class ProblemHandlingControllerAdvice : ResponseEntityExceptionHandler() {
exception = ex
)

return ProblemDetail.forStatusAndDetail(httpStatus, errorMessage).apply {
return ProblemDetail.forStatus(httpStatus).apply {
title = errorMessage
}
}
Expand Down

0 comments on commit bae6257

Please sign in to comment.