1
0
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:
cketti 2012-02-03 01:22:37 +01:00
parent b1a1de8f7b
commit 35b5aebdb3

View File

@ -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();
}
}