1
0

Report config write exceptions using logger

This commit is contained in:
Ryan Fox (flewkey) 2020-01-11 02:08:30 +00:00 committed by Ryan Fox
parent f26f294895
commit 0ee693cce4
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E

View File

@ -80,7 +80,7 @@ public class Config {
try (FileWriter file = new FileWriter("2a03.json")) {
file.write(JSONObject.valueToString(json));
} catch (Exception e) {
System.out.println("Failed to save config file");
LOGGER.error("Failed to save config file");
}
}
}