Merge "Add better logging to find auth errors." into jb-ub-mail-ur10
diff --git a/src/com/android/exchange/eas/EasOperation.java b/src/com/android/exchange/eas/EasOperation.java
index 6d615d7..1c695e0 100644
--- a/src/com/android/exchange/eas/EasOperation.java
+++ b/src/com/android/exchange/eas/EasOperation.java
@@ -176,6 +176,7 @@
if (registerClientCert()) {
response = mConnection.executeHttpUriRequest(makeRequest(), getTimeout());
} else {
+ LogUtils.e(LOG_TAG, "Problem registering client cert");
// TODO: Is this the best stat to increment?
if (syncResult != null) {
++syncResult.stats.numAuthExceptions;
@@ -247,6 +248,7 @@
continue;
}
if (syncResult != null) {
+ LogUtils.e(LOG_TAG, "Issue with provisioning");
// TODO: Is this the best stat to increment?
++syncResult.stats.numAuthExceptions;
}