We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a72d134 + 162092c commit 906796dCopy full SHA for 906796d
Client/src/main/java/io/github/jwdeveloper/tiktok/websocket/TikTokWebSocketClient.java
@@ -110,13 +110,12 @@ public X509Certificate[] getAcceptedIssuers() {
110
ProxyData proxyData = proxySettings.next();
111
if (tryProxyConnection(proxySettings, proxyData)) {
112
heartbeatTask.run(webSocketClient, clientSettings.getPingInterval());
113
- break;
+ return;
114
}
115
if (proxySettings.isAutoDiscard())
116
proxySettings.remove();
117
118
- if (!isConnected())
119
- throw new TikTokLiveException("Failed to connect to the websocket");
+ throw new TikTokLiveException("Failed to connect to the websocket");
120
121
122
public boolean tryProxyConnection(ProxyClientSettings proxySettings, ProxyData proxyData) {
0 commit comments