From c5d822f2f10642471a98b0739f70a6e7c9dd768f Mon Sep 17 00:00:00 2001 From: torleifg Date: Thu, 5 Dec 2024 15:10:40 +0100 Subject: [PATCH] Method renaming --- .../fdk/dataservicecatalog/controller/DataServiceController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/fdk/dataservicecatalog/controller/DataServiceController.kt b/src/main/kotlin/no/fdk/dataservicecatalog/controller/DataServiceController.kt index 75bcb5c..8dba605 100644 --- a/src/main/kotlin/no/fdk/dataservicecatalog/controller/DataServiceController.kt +++ b/src/main/kotlin/no/fdk/dataservicecatalog/controller/DataServiceController.kt @@ -91,7 +91,7 @@ class DataServiceController(private val handler: DataServiceHandler) { } @ExceptionHandler - fun handleJsonMappingException(ex: JsonProcessingException): ResponseEntity { + fun handleJsonProcessingException(ex: JsonProcessingException): ResponseEntity { val problemDetail = ProblemDetail.forStatusAndDetail(HttpStatus.BAD_REQUEST, ex.originalMessage) return ResponseEntity.of(problemDetail).build()