Skip to content

Commit

Permalink
Method renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
torleifg committed Dec 5, 2024
1 parent 66f552d commit c5d822f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class DataServiceController(private val handler: DataServiceHandler) {
}

@ExceptionHandler
fun handleJsonMappingException(ex: JsonProcessingException): ResponseEntity<ProblemDetail> {
fun handleJsonProcessingException(ex: JsonProcessingException): ResponseEntity<ProblemDetail> {
val problemDetail = ProblemDetail.forStatusAndDetail(HttpStatus.BAD_REQUEST, ex.originalMessage)

return ResponseEntity.of(problemDetail).build()
Expand Down

0 comments on commit c5d822f

Please sign in to comment.