b/15742016. Fix up some error logging.
Change-Id: Ib4e660ccc757a250811339c00cb3bc49a0402f9d
diff --git a/src/com/android/exchange/service/EasService.java b/src/com/android/exchange/service/EasService.java
index 791266e..720a577 100644
--- a/src/com/android/exchange/service/EasService.java
+++ b/src/com/android/exchange/service/EasService.java
@@ -408,7 +408,7 @@
case EasOperation.RESULT_RESTART:
// This should only happen if a ping is interruped for some reason. We would not
// expect see that here, since this should only be called for a sync.
- LogUtils.e(TAG, "unexpected easStatus %d", easStatus);
+ LogUtils.e(TAG, "Abort or Restart easStatus");
return EmailServiceStatus.SUCCESS;
case EasOperation.RESULT_TOO_MANY_REDIRECTS:
@@ -442,10 +442,10 @@
// EasFullSyncOperation. The only case this occurs in is when we try to send
// a message in the outbox, and there's some problem with the message locally
// that prevents it from being sent. We return a
- LogUtils.e(TAG, "unexpected easStatus %d", easStatus);
+ LogUtils.e(TAG, "Other non-fatal error easStatus %d", easStatus);
return EmailServiceStatus.SUCCESS;
}
- LogUtils.e(TAG, "Unexpected easStatus %d");
+ LogUtils.e(TAG, "Unexpected easStatus %d", easStatus);
return EmailServiceStatus.INTERNAL_ERROR;
}