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:
parent
e70a2290c3
commit
56615de1f0
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user