mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +01:00
Also catch SmackException in Socks5BytestreamRequest
and use try/multi-catch.
This commit is contained in:
parent
4f7324103c
commit
095b5c85a1
1 changed files with 1 additions and 7 deletions
|
@ -239,13 +239,7 @@ public class Socks5BytestreamRequest implements BytestreamRequest {
|
|||
break;
|
||||
|
||||
}
|
||||
catch (TimeoutException e) {
|
||||
incrementConnectionFailures(address);
|
||||
}
|
||||
catch (IOException e) {
|
||||
incrementConnectionFailures(address);
|
||||
}
|
||||
catch (XMPPException e) {
|
||||
catch (TimeoutException | IOException | SmackException | XMPPException e) {
|
||||
incrementConnectionFailures(address);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue