Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5854db8

Browse files
committedSep 6, 2018
degrade level (back) to INFO and log trace when commited
should be a compromise as users using an error app would have been confused by the new ERROR message (wasn't there previously)
1 parent 4ed7a4e commit 5854db8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/main/java/org/jruby/rack/AbstractRackDispatcher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ protected void handleException(
4646
final RackResponseEnvironment response) throws IOException {
4747

4848
if ( response.isCommitted() ) {
49-
context.log(RackLogger.ERROR, "couldn't handle exception "+ e +" : response is committed");
49+
context.log(RackLogger.ERROR, "couldn't handle exception (response is committed)", e);
5050
return;
5151
}
52-
context.log(RackLogger.ERROR, "resetting rack response due to exception:" + e);
52+
context.log(RackLogger.INFO, "resetting rack response due exception: " + e);
5353
response.reset();
5454

5555
afterException(request, e, response);

0 commit comments

Comments
 (0)
Please sign in to comment.