Skip to content

Commit 41a4802

Browse files
committed
Updated log filter.
1 parent fba26a6 commit 41a4802

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/prebid/server/handler/ExceptionHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ private static boolean shouldLogException(Throwable exception) {
3737
}
3838

3939
private static boolean isConnectionResetException(Throwable exception) {
40-
return exception instanceof IOException
41-
&& StringUtils.equals("readAddress(..) failed: Connection reset by peer", exception.getMessage());
40+
return exception instanceof IOException &&
41+
StringUtils.equals("recvAddress(..) failed: Connection reset by peer", exception.getMessage());
4242
}
4343

4444
private static String errorMessageFrom(Throwable exception) {

0 commit comments

Comments
 (0)