mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 19:47:49 +01:00
Better error message after trying to access analysis of offline server
This commit is contained in:
parent
66b145f7f9
commit
663a4d7642
@ -146,7 +146,7 @@ public class ConnectionOut {
|
|||||||
Log.toLog(this.getClass(), e);
|
Log.toLog(this.getClass(), e);
|
||||||
}
|
}
|
||||||
ConnectionLog.logConnectionTo(toServer, infoRequest, -1);
|
ConnectionLog.logConnectionTo(toServer, infoRequest, -1);
|
||||||
throw new ConnectionFailException("Connection failed to address: " + address, e);
|
throw new ConnectionFailException("Connection failed to address: " + address + "<br>Make sure the server is online.", e);
|
||||||
} finally {
|
} finally {
|
||||||
if (connection != null) {
|
if (connection != null) {
|
||||||
connection.disconnect();
|
connection.disconnect();
|
||||||
|
Loading…
Reference in New Issue
Block a user