Skip to content

Commit cd54a07

Browse files
committed
disable the error handler for the moment
1 parent fe97cb9 commit cd54a07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/htmlunit/util/JettyServerUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public static Server startWebServer(final int port, final String resourceBase,
119119
final Resource baseResource = ResourceFactory.of(context).newResource(getResourceBasePath(resourceBase));
120120
context.setBaseResource(baseResource);
121121

122-
context.setErrorHandler(new ConsoleErrorHandler());
122+
// context.setErrorHandler(new ConsoleErrorHandler());
123123

124124
if (isBasicAuthentication) {
125125
final ConstraintSecurityHandler securityHandler = new ConstraintSecurityHandler();
@@ -268,7 +268,7 @@ public static Server startWebAppServer(final int port, final String resourceBase
268268
final Resource baseResource = ResourceFactory.of(context).newResource(getResourceBasePath(resourceBase));
269269
context.setBaseResource(baseResource);
270270

271-
context.setErrorHandler(new ConsoleErrorHandler());
271+
// context.setErrorHandler(new ConsoleErrorHandler());
272272

273273
if (classpath != null && classpath.length > 0) {
274274
final ClassLoader parentClassLoader = Thread.currentThread().getContextClassLoader();

0 commit comments

Comments
 (0)