Skip to content

Commit ed692bb

Browse files
committed
Tired of people asking why they get errors on this
1 parent 5baff72 commit ed692bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

balancer/src/main/java/com/jaimemartz/playerbalancer/PlayerBalancer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public boolean checkUpToDate() {
8282
String reply = new BufferedReader(new InputStreamReader(con.getInputStream())).readLine();
8383
return getDescription().getVersion().equals(reply);
8484
} catch (IOException e) {
85-
e.printStackTrace();
85+
getLogger().log(Level.WARNING, "Could not access Spigot API, maybe you have a firewall or something that blocks request to it", e);
8686
}
8787
return true;
8888
}

0 commit comments

Comments
 (0)