Skip to content

Commit

Permalink
Don't log network error in application logs
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebort committed Oct 28, 2010
1 parent 5cf0023 commit 7d3afcb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions framework/src/play/server/PlayHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,7 @@ protected static void addToRequest(HttpRequest nettyRequest, Request request) {
}

@Override
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)
throws Exception {
Logger.error(e.getCause(), "");
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws Exception {
e.getChannel().close();
}

Expand Down

0 comments on commit 7d3afcb

Please sign in to comment.