Source:
<code>public static void uploadGravatar(final File file, final String email, final String accessToken, final GravatarUploadListener gravatarUploadListener) { Request request = prepareGravatarUpload(email, file); createClient(accessToken).newCall(request).enqueue( new Callback() { @Override public void onResponse(Call call, final Response response) throws IOException { if (!response.isSuccessful()) { Map<String, Object> properties = new HashMap<>(); properties.put("network_response_code", response.code()); String responseBody; try { responseBody = response.body().string(); } catch (IOException e) { responseBody = "null"; } properties.put("network_response_body", responseBody); AnalyticsTracker.track(AnalyticsTracker.Stat.ME_GRAVATAR_UPLOAD_UNSUCCESSFUL, properties); AppLog.w(AppLog.T.API, "Network call unsuccessful trying to upload Gravatar: " + responseBody); } new Handler(Looper.getMainLooper()).post(new Runnable() { @Override public void run() { if (response.isSuccessful()) { gravatarUploadListener.onSuccess(); } else { gravatarUploadListener.onError(); } } }); } @Override public void onFailure(okhttp3.Call call, final IOException e) { if (!(e instanceof java.net.UnknownHostException)) { Map<String, Object> properties = new HashMap<>(); String exceptionClass = e != null ? e.getClass().getCanonicalName() : "null"; String exceptionMessage = e != null ? e.getMessage() : "null"; properties.put("network_exception_class", exceptionClass); properties.put("network_exception_message", exceptionMessage); AnalyticsTracker.track(AnalyticsTracker.Stat.ME_GRAVATAR_UPLOAD_EXCEPTION, properties); CrashlyticsUtils .logException(e, AppLog.T.API, "Network call failure trying to upload Gravatar!"); <START> AppLog.w(AppLog.T.API, "Network call failure trying to upload Gravatar!" <END> + exceptionMessage); } new Handler(Looper.getMainLooper()).post(new Runnable() { @Override public void run() { gravatarUploadListener.onError(); } }); } }); }</code><technical_language>I sense leave AppLog log error, if bump Track send exception Crashlytics, info Customer Support. WDYT @jkmassel</technical_language>

Target:
public static void uploadGravatar(final File file, final String email, final String accessToken, final GravatarUploadListener gravatarUploadListener) { Request request = prepareGravatarUpload(email, file); createClient(accessToken).newCall(request).enqueue( new Callback() { @Override public void onResponse(Call call, final Response response) throws IOException { if (!response.isSuccessful()) { Map<String, Object> properties = new HashMap<>(); properties.put("network_response_code", response.code()); String responseBody; try { responseBody = response.body().string(); } catch (IOException e) { responseBody = "null"; } properties.put("network_response_body", responseBody); AnalyticsTracker.track(AnalyticsTracker.Stat.ME_GRAVATAR_UPLOAD_UNSUCCESSFUL, properties); AppLog.w(AppLog.T.API, "Network call unsuccessful trying to upload Gravatar: " + responseBody); } new Handler(Looper.getMainLooper()).post(new Runnable() { @Override public void run() { if (response.isSuccessful()) { gravatarUploadListener.onSuccess(); } else { gravatarUploadListener.onError(); } } }); } @Override public void onFailure(okhttp3.Call call, final IOException e) { String exceptionClass = e != null ? e.getClass().getCanonicalName() : "null"; String exceptionMessage = e != null ? e.getMessage() : "null"; AppLog.w(AppLog.T.API, "Network call failure trying to upload Gravatar!" + exceptionMessage); if (!(e instanceof java.net.UnknownHostException)) { Map<String, Object> properties = new HashMap<>(); properties.put("network_exception_class", exceptionClass); properties.put("network_exception_message", exceptionMessage); AnalyticsTracker.track(AnalyticsTracker.Stat.ME_GRAVATAR_UPLOAD_EXCEPTION, properties); CrashlyticsUtils .logException(e, AppLog.T.API, "Network call failure trying to upload Gravatar!"); } new Handler(Looper.getMainLooper()).post(new Runnable() { @Override public void run() { gravatarUploadListener.onError(); } }); } }); }