mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
log FileNotFoundException when checking if directory is writable or not: #343
This commit is contained in:
parent
e70a2290c3
commit
56615de1f0
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user