use resource bundle for mercurial cgi error messages

This commit is contained in:
Sebastian Sdorra
2012-05-09 21:06:41 +02:00
parent 860230f6dc
commit ac6c366a60
3 changed files with 64 additions and 17 deletions

View File

@@ -180,8 +180,8 @@ public class HgCGIServlet extends HttpServlet
}
else if (!handler.isConfigured())
{
exceptionHandler.sendError(response,
HgCGIExceptionHandler.ERROR_NOT_CONFIGURED);
exceptionHandler.sendFormattedError(response,
HgCGIExceptionHandler.ERROR_NOT_CONFIGURED);
}
else
{