* Server: fixed error on missing xmage.properties file settings on feedback receive;

This commit is contained in:
Oleg Agafonov 2018-10-12 22:17:24 +04:00
parent 34e4012540
commit 0df97e5d4b

View file

@ -21,7 +21,11 @@ public final class PropertiesUtil {
static {
try (InputStream in = PropertiesUtil.class.getResourceAsStream("/xmage.properties")) {
properties.load(in);
if(in != null) {
properties.load(in);
} else {
logger.warn("No xmage.properties were found");
}
} catch (FileNotFoundException fnfe) {
logger.warn("No xmage.properties were found on classpath");
} catch (IOException e) {