From 7631af15720fac2bfb0f8efec6f7fcbb23c3b948 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Sat, 22 Sep 2012 09:37:50 -0700 Subject: [PATCH] Log remote search exceptions in addition to toasting them. --- src/com/fsck/k9/mail/store/ImapStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/mail/store/ImapStore.java b/src/com/fsck/k9/mail/store/ImapStore.java index 0fcc18dc6..dec6ced86 100644 --- a/src/com/fsck/k9/mail/store/ImapStore.java +++ b/src/com/fsck/k9/mail/store/ImapStore.java @@ -3518,7 +3518,7 @@ public class ImapStore extends Store { return folder.search(searcher, null); } catch (Exception e) { - e.printStackTrace(); + Log.e(K9.LOG_TAG, "Exception caught during remote search", e); throw new MessagingException("Error during search: " + e.toString()); }