diff --git a/provider_src/com/android/email/service/ImapService.java b/provider_src/com/android/email/service/ImapService.java index 879618f31..6796f1d9c 100644 --- a/provider_src/com/android/email/service/ImapService.java +++ b/provider_src/com/android/email/service/ImapService.java @@ -655,7 +655,7 @@ public class ImapService extends Service { } } } catch (MessagingException me) { - LogUtils.e(LOG_TAG, "Failed to process imap account " + id + " changes.", me); + LogUtils.e(LOG_TAG, me, "Failed to process imap account " + id + " changes."); } // Check if service should be started/stopped @@ -668,7 +668,7 @@ public class ImapService extends Service { try { ImapIdleFolderHolder.getInstance().unregisterIdledMailboxLocked(id, true); } catch (MessagingException me) { - LogUtils.e(LOG_TAG, "Failed to process imap mailbox " + id + " changes.", me); + LogUtils.e(LOG_TAG, me, "Failed to process imap mailbox " + id + " changes."); } return; } @@ -707,7 +707,7 @@ public class ImapService extends Service { } } } catch (MessagingException me) { - LogUtils.e(LOG_TAG, "Failed to process imap mailbox " + id + " changes.", me); + LogUtils.e(LOG_TAG, me, "Failed to process imap mailbox " + id + " changes."); } } @@ -735,7 +735,7 @@ public class ImapService extends Service { Store remoteStore = Store.getInstance(account, mContext); processPendingActionsSynchronous(mContext, account, remoteStore, false); } catch (MessagingException me) { - LogUtils.e(LOG_TAG, "Failed to process imap message " + id + " changes.", me); + LogUtils.e(LOG_TAG, me, "Failed to process imap message " + id + " changes."); } } }