refactor: Shift FileAlreadyExistsException catch to a higher level

This commit is contained in:
NotMyFault
2021-12-27 00:00:49 +01:00
parent 07695786ca
commit 596356a936

View File

@ -39,7 +39,7 @@ public class SchematicsEventListener {
try {
Files.createDirectories(config.resolve(event.getConfiguration().saveDir));
} catch (FileAlreadyExistsException e) {
LOGGER.info("Schematic directory exists as file. Possible symlink.", e);
LOGGER.debug("Schematic directory exists as file. Possible symlink.", e);
} catch (IOException e) {
LOGGER.warn("Failed to create schematics directory", e);
}