mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Add error logging
This commit is contained in:
parent
d2347d00b1
commit
23e7e75a41
2 changed files with 2 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ public class MethodAUpdater extends AsyncTask<Void, Void, ArrayList<String>> {
|
||||||
.get();
|
.get();
|
||||||
Log.d(TAG, "Method A URL filter" + result.toString());
|
Log.d(TAG, "Method A URL filter" + result.toString());
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Log.e(TAG, "IO Exception: ", e);
|
||||||
//Return empty arraylist
|
//Return empty arraylist
|
||||||
return categories;
|
return categories;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,7 @@ public class PrefixUpdater extends AsyncTask<Void, Void, ArrayList<String>> {
|
||||||
.get();
|
.get();
|
||||||
Log.d(TAG, "Prefix URL filter" + result.toString());
|
Log.d(TAG, "Prefix URL filter" + result.toString());
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Log.e(TAG, "IO Exception: ", e);
|
||||||
//Return empty arraylist
|
//Return empty arraylist
|
||||||
return categories;
|
return categories;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue