sziszo commented on a change in pull request #3208:
URL: https://github.com/apache/ambari/pull/3208#discussion_r465032411



##########
File path: 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariHandlerList.java
##########
@@ -251,6 +251,10 @@ private WebAppContext getHandler(ViewInstanceEntity 
viewInstanceDefinition)
     webAppContext.addFilter(new FilterHolder(springSecurityFilter), "/*", 
AmbariServer.DISPATCHER_TYPES);
     webAppContext.setAllowNullPathInfo(true);
 
+    if (webAppContext.getErrorHandler() != null) {
+      webAppContext.getErrorHandler().setShowStacks(false);

Review comment:
       I couldn't find a config property that I could use so I introduced a new 
one to display the error stacks. @hapylestat  please review it




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to