mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Use Timber.e(Throwable t, String message, Object... args) (#2582)
This commit is contained in:
parent
c21cc83eb5
commit
b5051f9a4f
4 changed files with 4 additions and 4 deletions
|
|
@ -66,7 +66,7 @@ public class MediaDataExtractor {
|
|||
Timber.d("Nominated for deletion: " + deletionStatus);
|
||||
}
|
||||
catch (Exception e){
|
||||
Timber.d(e.getMessage());
|
||||
Timber.d(e, "Exception during fetching");
|
||||
}
|
||||
|
||||
MediaResult result = mediaWikiApi.fetchMediaByFilename(filename);
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ public class CampaignsPresenter implements BasePresenter {
|
|||
}
|
||||
|
||||
@Override public void onError(Throwable e) {
|
||||
Timber.e(e.getMessage(), "could not fetch campaigns");
|
||||
Timber.e(e, "could not fetch campaigns");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -318,7 +318,7 @@ public class ContributionDao {
|
|||
try {
|
||||
db.execSQL(query);
|
||||
} catch (SQLiteException e) {
|
||||
Timber.e("Exception performing query: " + query + " message: " + e.getMessage());
|
||||
Timber.e(e, "Exception performing query: " + query);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ public class NearbyPlaces {
|
|||
try {
|
||||
places = getFromWikidataQuery(curLatLng, lang, radius);
|
||||
} catch (InterruptedIOException e) {
|
||||
Timber.e(e,"exception in fetching nearby places");
|
||||
Timber.e(e, "exception in fetching nearby places");
|
||||
return places;
|
||||
}
|
||||
Timber.d("%d results at radius: %f", places.size(), radius);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue