1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-01-13 03:07:32 +01: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(); file.delete();
return true; return true;
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
GB.log("Cannot write to directory: " + dir.getAbsolutePath(), GB.INFO, e);
return false; return false;
} }
} }