|
|
@@ -33,7 +33,7 @@ public class ErrorControllerAdvice {
|
|
|
|| e.getCode() == ErrorCode.PARAMETER_UNDEFINED) {
|
|
|
//404
|
|
|
return Mono.just(ResponseEntity
|
|
|
- .status(HttpStatus.NOT_FOUND)
|
|
|
+ .status(HttpStatus.INTERNAL_SERVER_ERROR)
|
|
|
.body(ResponseMessage.error(e.getCode().name().toLowerCase(), e.getMessage())));
|
|
|
}
|
|
|
|