Merge "Serve 403 from RepositoryFilter on ServiceMayNotContinueException"
This commit is contained in:
commit
3c29bf0941
|
@ -143,7 +143,7 @@ public void doFilter(final ServletRequest request,
|
|||
res.sendError(SC_UNAUTHORIZED);
|
||||
return;
|
||||
} catch (ServiceMayNotContinueException e) {
|
||||
sendError(req, res, SC_INTERNAL_SERVER_ERROR, e.getMessage());
|
||||
sendError(req, res, SC_FORBIDDEN, e.getMessage());
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue