Cleanup: Properly log errors

This commit is contained in:
Phoenix616 2023-03-01 18:36:46 +01:00
parent 385672ecd4
commit 362dd856d3
No known key found for this signature in database
GPG Key ID: 40E2321E71738EB0

View File

@ -126,7 +126,7 @@ public class Configuration {
return lastLine.isEmpty();
} catch (FileNotFoundException e) {
e.printStackTrace();
Logger.getLogger("Configuration").log(Level.SEVERE, "Error while checking if file " + file.getName() + " ends with space", e);
return false;
}
}