Configure ErrorReportValve not to report stack traces

See gh-11790
This commit is contained in:
Alex Panchenko
2018-01-29 23:31:54 +07:00
committed by Andy Wilkinson
parent 4c001e8d56
commit 29736e340e
2 changed files with 22 additions and 1 deletions

View File

@@ -231,8 +231,8 @@ public class TomcatEmbeddedServletContainerFactory
});
ServletContextInitializer[] initializersToUse = mergeInitializers(initializers);
configureContext(context, initializersToUse);
host.addChild(context);
configureContext(context, initializersToUse);
postProcessContext(context);
}