diff --git a/webserver/webserver/src/main/java/io/helidon/webserver/http/ErrorHandlers.java b/webserver/webserver/src/main/java/io/helidon/webserver/http/ErrorHandlers.java index de1d33b9288..6366ded8381 100644 --- a/webserver/webserver/src/main/java/io/helidon/webserver/http/ErrorHandlers.java +++ b/webserver/webserver/src/main/java/io/helidon/webserver/http/ErrorHandlers.java @@ -212,7 +212,7 @@ private void handleError(ConnectionContext ctx, if (!response.reset()) { ctx.log(LOGGER, System.Logger.Level.WARNING, "Unable to reset response for error handler."); throw new CloseConnectionException( - "Cannot send response of a simple handler, status and headers already written"); + "Cannot send response of a simple handler, status and headers already written", e); } try { it.handle(request, response, e);