Commit 069dc170 authored by Adrien Dorsaz's avatar Adrien Dorsaz

Shows printStackTrace on exception. Adds case to switch on ToDisplay.

parent fb8727c9
......@@ -52,6 +52,8 @@ public class ArticleListGetter extends
// TODO Pass to offline mode
Log.e(SessionManager.LOG_SERVER,
"Cannot get article list, are you correctly logged ? Remove cookie and try again. Using saved data if available.");
e.printStackTrace();
Editor editor = mActivity.getSharedPreferences(
SettingsActivity.SHARED_PREFERENCES, Activity.MODE_PRIVATE)
.edit();
......@@ -108,6 +110,8 @@ public class ArticleListGetter extends
case STARRED:
httpParams += "&" + DISPLAY_STARRED_PARAMS;
break;
case ALWAYS_PROMPT:
break;
}
JSONObject jsonResponse = mSessionManager.serverRequest(
ARTICLELIST_PAGE_RSSLOUNGE, httpParams);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment