diff --git a/src/main/java/org/jruby/rack/AbstractRackDispatcher.java b/src/main/java/org/jruby/rack/AbstractRackDispatcher.java index 11ce2763..155ffb09 100644 --- a/src/main/java/org/jruby/rack/AbstractRackDispatcher.java +++ b/src/main/java/org/jruby/rack/AbstractRackDispatcher.java @@ -46,10 +46,10 @@ protected void handleException( final RackResponseEnvironment response) throws IOException { if ( response.isCommitted() ) { - context.log(RackLogger.ERROR, "couldn't handle exception "+ e +" : response is committed"); + context.log(RackLogger.ERROR, "couldn't handle exception (response is committed)", e); return; } - context.log(RackLogger.ERROR, "resetting rack response due to exception:" + e); + context.log(RackLogger.INFO, "resetting rack response due exception: " + e); response.reset(); afterException(request, e, response);