mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +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;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (TimeoutException e) {
|
catch (TimeoutException | IOException | SmackException | XMPPException e) {
|
||||||
incrementConnectionFailures(address);
|
|
||||||
}
|
|
||||||
catch (IOException e) {
|
|
||||||
incrementConnectionFailures(address);
|
|
||||||
}
|
|
||||||
catch (XMPPException e) {
|
|
||||||
incrementConnectionFailures(address);
|
incrementConnectionFailures(address);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue