Skip to content

Commit

Permalink
fix: ignoring logging
Browse files Browse the repository at this point in the history
  • Loading branch information
almax07082005 committed Dec 4, 2024
1 parent a634331 commit edcb2ca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public Logger(LogConfig log) {
}

public void logException(Exception exception) {
if (exception instanceof SocketException || exception instanceof SocketTimeoutException) {
if (exception instanceof SocketException || exception instanceof SocketTimeoutException ||
exception.getMessage().contains("SocketException") || exception.getMessage().contains("SocketTimeoutException")) {
return;
}

Expand Down

0 comments on commit edcb2ca

Please sign in to comment.