remove todo

This commit is contained in:
ggmaleva 2021-03-05 13:27:33 +03:00
parent 69f37c1fa4
commit 3c9c0997ea

View File

@ -12,7 +12,6 @@ public class RestExceptionHandler extends ResponseEntityExceptionHandler {
@ExceptionHandler(value = {AccessDeniedException.class})
protected ResponseEntity<Object> handleAccessDeniedException(AccessDeniedException ex, WebRequest request) {
// TODO возможно выдавать сообщение с ошибкой?
return ResponseEntity
.status(HttpStatus.FORBIDDEN)
.build();