From 7cc82371ecb9c117f74152a7f317456c84c28407 Mon Sep 17 00:00:00 2001 From: Yu Ping Hu Date: Thu, 28 Mar 2013 19:10:23 -0700 Subject: [PATCH] Improve error logging for mailboxNotification. Change-Id: I5b16ac46ce8cdd6e8f791c9cea7d7ead7e053bdc --- src/com/android/email/NotificationController.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/com/android/email/NotificationController.java b/src/com/android/email/NotificationController.java index be3e876be..79ae8c66e 100644 --- a/src/com/android/email/NotificationController.java +++ b/src/com/android/email/NotificationController.java @@ -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 {