Skip to content

Commit

Permalink
Add error message to log when runtime error is handled (fixes #213)
Browse files Browse the repository at this point in the history
  • Loading branch information
daneshd authored and kares committed Sep 6, 2018
1 parent 2774bfc commit 4ed7a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jruby/rack/AbstractRackDispatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected void handleException(
context.log(RackLogger.ERROR, "couldn't handle exception "+ e +" : response is committed");
return;
}
context.log(RackLogger.DEBUG, "resetting rack response due exception");
context.log(RackLogger.ERROR, "resetting rack response due to exception:" + e);
response.reset();

afterException(request, e, response);
Expand Down

0 comments on commit 4ed7a4e

Please sign in to comment.