From 22b33a5a4a8c8315ebcd4111ac5c2d0bc78488c1 Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Tue, 21 Dec 2010 16:36:38 -0800 Subject: [PATCH] Show stacktrace when failing to load message body Change-Id: Ie6b2dda6fa32982e48e052f5f8fe2c699ebc8a01 --- src/com/android/email/activity/MessageViewFragmentBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/email/activity/MessageViewFragmentBase.java b/src/com/android/email/activity/MessageViewFragmentBase.java index 07da5982c..64d675299 100644 --- a/src/com/android/email/activity/MessageViewFragmentBase.java +++ b/src/com/android/email/activity/MessageViewFragmentBase.java @@ -986,7 +986,7 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O } catch (RuntimeException re) { // This catches SQLiteException as well as other RTE's we've seen from the // database calls, such as IllegalStateException - Log.d(Email.LOG_TAG, "Exception while loading message body: " + re.toString()); + Log.d(Email.LOG_TAG, "Exception while loading message body", re); mErrorLoadingMessageBody = true; return null; }