Skip to content

Commit

Permalink
ignoring HttpConnectTimeoutException
Browse files Browse the repository at this point in the history
  • Loading branch information
yvasyliev committed Feb 17, 2024
1 parent 548af39 commit ca66d87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>com.github.yvasyliev</groupId>
<artifactId>reddit-telegram-forwarder</artifactId>
<version>3.1.0</version>
<version>3.1.1</version>

<properties>
<java.version>21</java.version>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<TelegramBotAppender name="telegramBotAppender">
<IgnoredExceptions>
<IgnoredException>org.apache.http.NoHttpResponseException</IgnoredException>
<IgnoredException>java.net.http.HttpConnectTimeoutException</IgnoredException>
</IgnoredExceptions>
</TelegramBotAppender>
</Appenders>
Expand Down

0 comments on commit ca66d87

Please sign in to comment.