1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-10-16 18:40:11 +02:00

log FileNotFoundException when checking if directory is writable or not: #343

This commit is contained in:
cpfeiffer 2016-06-27 21:29:39 +02:00
parent e70a2290c3
commit 56615de1f0

View File

@ -116,6 +116,7 @@ public class FileUtils {
file.delete();
return true;
} catch (FileNotFoundException e) {
GB.log("Cannot write to directory: " + dir.getAbsolutePath(), GB.INFO, e);
return false;
}
}