chore: handle font eof exception
This commit is contained in:
parent
3c39aa4498
commit
9b6184057f
|
@ -123,7 +123,7 @@ public class RestControllerExceptionHandler {
|
|||
@ExceptionHandler({EofException.class})
|
||||
public ResponseEntity<Object> handleEofException(HttpServletRequest request, Exception e) {
|
||||
String requestURI = request.getRequestURI();
|
||||
if (StringUtils.startsWith(requestURI, "/assets")) {
|
||||
if (StringUtils.startsWith(requestURI, "/assets") || StringUtils.startsWith(requestURI, "/fonts")) {
|
||||
return ResponseEntity.internalServerError().body(null);
|
||||
}
|
||||
return ResponseEntity.internalServerError()
|
||||
|
|
Loading…
Reference in New Issue