Merge "Serve 403 from RepositoryFilter on ServiceMayNotContinueException"

This commit is contained in:
Shawn Pearce 2012-06-21 10:45:41 -04:00 committed by Gerrit Code Review @ Eclipse.org
commit 3c29bf0941
1 changed files with 1 additions and 1 deletions

View File

@ -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 {