mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-16 09:16:10 +00:00
refactor: Shift FileAlreadyExistsException
catch to a higher level
This commit is contained in:
parent
07695786ca
commit
596356a936
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user