Add error logging

This commit is contained in:
misaochan 2016-07-06 18:05:13 +12:00
parent d2347d00b1
commit 23e7e75a41
2 changed files with 2 additions and 0 deletions

View file

@ -67,6 +67,7 @@ public class MethodAUpdater extends AsyncTask<Void, Void, ArrayList<String>> {
.get();
Log.d(TAG, "Method A URL filter" + result.toString());
} catch (IOException e) {
Log.e(TAG, "IO Exception: ", e);
//Return empty arraylist
return categories;
}

View file

@ -65,6 +65,7 @@ public class PrefixUpdater extends AsyncTask<Void, Void, ArrayList<String>> {
.get();
Log.d(TAG, "Prefix URL filter" + result.toString());
} catch (IOException e) {
Log.e(TAG, "IO Exception: ", e);
//Return empty arraylist
return categories;
}