Niedzielski has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/334447 )

Change subject: Report failed tab JSON
......................................................................

Report failed tab JSON

Change-Id: Ib1bf99ab5dea0af7ca12e7d7ad3d7eb11c3d25f0
---
M app/src/main/java/org/wikipedia/json/TabUnmarshaller.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/47/334447/1

diff --git a/app/src/main/java/org/wikipedia/json/TabUnmarshaller.java 
b/app/src/main/java/org/wikipedia/json/TabUnmarshaller.java
index 54f21fb..099ba1a 100644
--- a/app/src/main/java/org/wikipedia/json/TabUnmarshaller.java
+++ b/app/src/main/java/org/wikipedia/json/TabUnmarshaller.java
@@ -40,7 +40,7 @@
             for (PageBackStackItem item : tab.getBackStack()) {
                 if 
(TextUtils.isEmpty(item.getTitle().getWikiSite().authority())
                         || 
TextUtils.isEmpty(item.getHistoryEntry().getTitle().getWikiSite().authority())) 
{
-                    L.logRemoteErrorIfProd(new 
IllegalArgumentException("Format error in serialized tab list."));
+                    L.logRemoteErrorIfProd(new RemoteLogException("Format 
error in serialized tab list.").put("json", json));
                     bad = true;
                     break;
                 }

-- 
To view, visit https://gerrit.wikimedia.org/r/334447
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib1bf99ab5dea0af7ca12e7d7ad3d7eb11c3d25f0
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <sniedziel...@wikimedia.org>
Gerrit-Reviewer: Sniedzielski <sniedziel...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to