Better error message after trying to access analysis of offline server

This commit is contained in:
Rsl1122 2018-02-11 15:46:41 +02:00
parent 66b145f7f9
commit 663a4d7642

View File

@ -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();