diff --git a/android/src/main/java/org/mozilla/mozstumbler/client/leaderboard/LBUploadTask.java b/android/src/main/java/org/mozilla/mozstumbler/client/leaderboard/LBUploadTask.java index d1873a897..3e3fcf6e8 100644 --- a/android/src/main/java/org/mozilla/mozstumbler/client/leaderboard/LBUploadTask.java +++ b/android/src/main/java/org/mozilla/mozstumbler/client/leaderboard/LBUploadTask.java @@ -56,7 +56,7 @@ public IResponse submit(byte[] data, Map headers, boolean precom Log.d(LOG_TAG, "Sending leaderboard data: " + sData); IResponse resp = httpDelegate.post(submit_url, data, headers, precompressed); - Log.d(LOG_TAG, "Got response: " + resp.httpStatusCode()); + Log.d(LOG_TAG, "Got response: " + (resp != null ? resp.httpStatusCode() : "null")); return resp; } }