mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-17 18:21:26 +00:00
Applied suggestions from code review
Updated log message Replaced caught exception See: https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1262297316 https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1262298832
This commit is contained in:
@@ -81,7 +81,7 @@ public final class MountWithinParentUtil {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
} catch (FileNotFoundException e) {
|
||||
} catch (NoSuchFileException e) {
|
||||
return false;
|
||||
} catch (IOException e) {
|
||||
throw new MountPointPreparationException(e);
|
||||
@@ -100,7 +100,7 @@ public final class MountWithinParentUtil {
|
||||
try {
|
||||
waitForMountpointRestoration(mountPoint);
|
||||
if (Files.notExists(hideaway, LinkOption.NOFOLLOW_LINKS)) {
|
||||
LOG.error("Unable to restore hidden directory to mountpoint \"{}\": Directory does not exist. (Deleted by user?)", mountPoint);
|
||||
LOG.error("Unable to restore hidden directory to mountpoint \"{}\": Directory does not exist.", mountPoint);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user