Skip to content

Commit

Permalink
Ignoring java.net.ConnectException (#51)
Browse files Browse the repository at this point in the history
* ignoring HttpConnectTimeoutException

* unwrapping ExecutionException

* ignoring java.net.ConnectException
  • Loading branch information
yvasyliev authored Feb 24, 2024
1 parent eb83944 commit 26c1c3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<IgnoredExceptions>
<IgnoredException>org.apache.http.NoHttpResponseException</IgnoredException>
<IgnoredException>java.net.http.HttpConnectTimeoutException</IgnoredException>
<IgnoredException>java.net.ConnectException</IgnoredException>
</IgnoredExceptions>
</TelegramBotAppender>
</Appenders>
Expand Down

0 comments on commit 26c1c3a

Please sign in to comment.