mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Add debug message when saving an attachment to SD card fails
This commit is contained in:
parent
b1a1de8f7b
commit
35b5aebdb3
@ -228,6 +228,9 @@ public class AttachmentView extends FrameLayout {
|
||||
attachmentSaved(file.toString());
|
||||
new MediaScannerNotifier(mContext, file);
|
||||
} catch (IOException ioe) {
|
||||
if (K9.DEBUG) {
|
||||
Log.e(K9.LOG_TAG, "Error saving attachment", ioe);
|
||||
}
|
||||
attachmentNotSaved();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user