mirror of https://github.com/apache/cloudstack.git
Forgot to save this file before last check-in
This commit is contained in:
parent
0fa8b65cde
commit
6bea2f7c2b
|
|
@ -47,6 +47,9 @@ public class ConsoleProxyAjaxImageHandler implements HttpHandler {
|
|||
} catch (IllegalArgumentException e) {
|
||||
s_logger.warn("Exception, ", e);
|
||||
t.sendResponseHeaders(400, -1); // bad request
|
||||
} catch(OutOfMemoryError e) {
|
||||
s_logger.error("Unrecoverable OutOfMemory Error, exit and let it be re-launched");
|
||||
System.exit(1);
|
||||
} catch(Throwable e) {
|
||||
s_logger.error("Unexpected exception, ", e);
|
||||
t.sendResponseHeaders(500, -1); // server error
|
||||
|
|
|
|||
Loading…
Reference in New Issue