exception fix

This commit is contained in:
dasha 2023-05-15 16:05:01 +04:00
parent a41fcf5618
commit 5f25af9f5b

View File

@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.ExceptionHandler;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@ControllerAdvice /*@ControllerAdvice*/
public class AdviceController { public class AdviceController {
@ExceptionHandler({ @ExceptionHandler({
CustomerNotFoundException.class, CustomerNotFoundException.class,