mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 6905: send better response error message when service is not fully ready to serve requests
This commit is contained in:
parent
7cafe6d7c0
commit
c2ada1d8d8
@ -69,6 +69,11 @@ public class ConsoleProxyServlet extends HttpServlet {
|
||||
protected void doGet(HttpServletRequest req, HttpServletResponse resp) {
|
||||
|
||||
try {
|
||||
if(_ms == null) {
|
||||
sendResponse(resp, "Service is not ready");
|
||||
return;
|
||||
}
|
||||
|
||||
String userId = null;
|
||||
String account = null;
|
||||
Account accountObj = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user