brahmareddybattula commented on code in PR #3356: URL: https://github.com/apache/ambari/pull/3356#discussion_r956659746
########## ambari-server/src/main/java/org/apache/ambari/server/api/AmbariViewErrorHandlerProxy.java: ########## @@ -51,14 +51,18 @@ public AmbariViewErrorHandlerProxy(ErrorHandler webAppErrorHandler, AmbariErrorH @Override public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException { - + try{ if (isInternalError(request, response)) { //invoke the ambari error handler ambariErrorHandler.handle(target, baseRequest, request, response); } else { //invoke the original errorhandler webAppErrorHandler.handle(target, baseRequest, request, response); } + } + catch(Exception e){ + System.out.println("Something went wrong"); Review Comment: Can you please use the logger.? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For additional commands, e-mail: dev-h...@ambari.apache.org