Skip to content
Permalink
Browse files

Merge pull request #3754 from yersan/bugs/WFCORE-4438

[WFCORE-4438] Disable console error context handler for ConsoleMode.NO_CONSOLE
  • Loading branch information
jmesnil committed Apr 29, 2019
2 parents d210280 + 302511d commit 5009a5886bf10c7ed05a47f4ed24e5a0308708af
@@ -379,7 +379,7 @@ private static ExtensionHandlers setupOpenListener(HttpOpenListener listener, in
ROOT_LOGGER.consoleModuleNotFound(builder.consoleSlot == null ? "main" : builder.consoleSlot);
}

if (builder.consoleMode.hasConsole()) {
if (builder.consoleMode != ConsoleMode.NO_CONSOLE) {
try {
addErrorContextHandler(pathHandler, builder);
} catch (ModuleLoadException e) {

0 comments on commit 5009a58

Please sign in to comment.
You can’t perform that action at this time.