mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -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());
|
attachmentSaved(file.toString());
|
||||||
new MediaScannerNotifier(mContext, file);
|
new MediaScannerNotifier(mContext, file);
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
|
if (K9.DEBUG) {
|
||||||
|
Log.e(K9.LOG_TAG, "Error saving attachment", ioe);
|
||||||
|
}
|
||||||
attachmentNotSaved();
|
attachmentNotSaved();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user