Changed config file deletion error message, to info

This commit is contained in:
coolGi
2023-08-17 23:25:18 +09:30
parent 26b6e19753
commit ff7e945b07
@@ -246,10 +246,7 @@ public class ConfigFileHandling
}
boolean fileDeleted = Files.deleteIfExists(this.configPath);
if (!fileDeleted)
{
System.err.println("Unable to delete config at path: [" + this.configPath + "]");
}
System.out.println("File at [" + this.configPath + "] was " + (fileDeleted? "": "not ") + "able to be deleted.");
Files.createFile(this.configPath);