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);
|
res.sendError(SC_UNAUTHORIZED);
|
||||||
return;
|
return;
|
||||||
} catch (ServiceMayNotContinueException e) {
|
} catch (ServiceMayNotContinueException e) {
|
||||||
sendError(req, res, SC_INTERNAL_SERVER_ERROR, e.getMessage());
|
sendError(req, res, SC_FORBIDDEN, e.getMessage());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue