Skip to content

Commit

Permalink
Log error using Timber instead of Log
Browse files Browse the repository at this point in the history
  • Loading branch information
allan-on committed Sep 19, 2019
1 parent f3d8085 commit acff22e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
import java.util.Map;
import java.util.UUID;

import timber.log.Timber;

/**
* Created by keyman on 08/02/2017.
*/
Expand Down Expand Up @@ -441,7 +443,7 @@ private static void createObservation(Event e, JSONObject jsonObject, String val
}
}
} catch (JSONException e1) {
Log.e(TAG, e1.getMessage());
Timber.e("%s : %s",TAG , e1.getMessage());
}
} else {
if (values != null && values.length() > 0) {
Expand Down

0 comments on commit acff22e

Please sign in to comment.