From d398af81cc2f5b095e5428f0c1d9613f0d48d4b6 Mon Sep 17 00:00:00 2001 From: gumartinm Date: Mon, 18 Jun 2012 04:10:17 +0200 Subject: [PATCH] FIX: some wrong logs in MobiAdsBatch --- Android/MobiAdsTabs/src/de/android/mobiads/batch/MobiAdsBatch.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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. -- 2.1.4