Improve error logging for mailboxNotification.
Change-Id: I5b16ac46ce8cdd6e8f791c9cea7d7ead7e053bdc
This commit is contained in:
parent
c534638b7a
commit
7cc82371ec
|
@ -582,7 +582,8 @@ public class NotificationController {
|
|||
UIProvider.FOLDERS_PROJECTION, null, null, null);
|
||||
|
||||
if (folderCursor == null) {
|
||||
LogUtils.e(LOG_TAG, "Null folder cursor for mMailboxId %d", mailboxId);
|
||||
LogUtils.e(LOG_TAG, "Null folder cursor for account %d, mailbox %d",
|
||||
mAccountId, mailboxId);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -591,7 +592,8 @@ public class NotificationController {
|
|||
if (folderCursor.moveToFirst()) {
|
||||
folder = new Folder(folderCursor);
|
||||
} else {
|
||||
LogUtils.e(LOG_TAG, "Empty folder cursor for mMailboxId %d", mailboxId);
|
||||
LogUtils.e(LOG_TAG, "Empty folder cursor for account %d, mailbox %d",
|
||||
mAccountId, mailboxId);
|
||||
continue;
|
||||
}
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue