Permalink
Browse files

Merge pull request #7384 from zackhow/analytics-fix

Android: fix crash if user is offline
  • Loading branch information...
JosJuice committed Aug 29, 2018
2 parents b8b4e9a + 169e41a commit 215d99146d72bc933a0cd190e87c8de03617044b
@@ -93,8 +93,7 @@ private static void showMessage(Context context, SharedPreferences preferences)
public static void sendReport(String endpoint, byte[] data)
{
StringRequest request = new StringRequest(Request.Method.POST, endpoint,
null, error -> Log.debug("Send Report Failure code: "
+ error.networkResponse.statusCode))
null, error -> Log.debug("Failed to send report"))
{
@Override
public byte[] getBody()

0 comments on commit 215d991

Please sign in to comment.