FIX: some wrong logs in MobiAdsBatch
authorgumartinm <gustavo@gumartinm.name>
Mon, 18 Jun 2012 02:10:17 +0000 (04:10 +0200)
committergumartinm <gustavo@gumartinm.name>
Mon, 18 Jun 2012 02:10:17 +0000 (04:10 +0200)
Android/MobiAdsTabs/src/de/android/mobiads/batch/MobiAdsBatch.java

index 4b59d62..961ca55 100644 (file)
@@ -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.