From: gumartinm Date: Mon, 18 Jun 2012 02:10:17 +0000 (+0200) Subject: FIX: some wrong logs in MobiAdsBatch X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=d398af81cc2f5b095e5428f0c1d9613f0d48d4b6;p=JavaForFun FIX: some wrong logs in MobiAdsBatch --- diff --git a/Android/MobiAdsTabs/src/de/android/mobiads/batch/MobiAdsBatch.java b/Android/MobiAdsTabs/src/de/android/mobiads/batch/MobiAdsBatch.java index 4b59d62..961ca55 100644 --- a/Android/MobiAdsTabs/src/de/android/mobiads/batch/MobiAdsBatch.java +++ b/Android/MobiAdsTabs/src/de/android/mobiads/batch/MobiAdsBatch.java @@ -136,13 +136,12 @@ public class MobiAdsBatch { //In case of any error, remove the index database and the file //or chunk successfully stored before the error. try { - Log.i("MobiAdsBatch","delete"); MobiAdsBatch.this.context.getContentResolver().delete(uriInsert, null, null); MobiAdsBatch.this.context.deleteFile((String) objects.get("id")); } catch (Throwable e2) { // Log this exception. The original exception (if there is one) is more // important and will be thrown to the caller. - Log.w("Error removing content after an exception.", e2); + Log.w(TAG, "Error removing content after an exception.", e2); } //Besides throw the original exception.