Merge "fix reduce log spam on errors"
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java
index 24b1555..8a3febe 100644
--- a/src/com/android/browser/Tab.java
+++ b/src/com/android/browser/Tab.java
@@ -685,12 +685,12 @@
errorCode != WebViewClient.ERROR_UNSUPPORTED_SCHEME &&
errorCode != WebViewClient.ERROR_FILE) {
queueError(errorCode, description);
- }
- // Don't log URLs when in private browsing mode
- if (!isPrivateBrowsingEnabled()) {
- Log.e(LOGTAG, "onReceivedError " + errorCode + " " + failingUrl
+ // Don't log URLs when in private browsing mode
+ if (!isPrivateBrowsingEnabled()) {
+ Log.e(LOGTAG, "onReceivedError " + errorCode + " " + failingUrl
+ " " + description);
+ }
}
}