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()