mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-02 18:33:54 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
75dd13b14f
1 file changed
+1
+1
@@ -101,6 +101,7 @@ public abstract class AbstractPortMonitor extends Thread {
|
||||
conn.setRequestMethod("GET");
|
||||
conn.connect();
|
||||
int code = conn.getResponseCode();
|
||||
conn.disconnect();
|
||||
if (code != 200) {
|
||||
throw new ConnectException("Could not successfully connect to endpoint " + currentendpoint.toString());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user