Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6fd45962 authored by Gabriele M's avatar Gabriele M Committed by Joey
Browse files

Print stack trace if the JSON could not be parsed

This helps to identify errors in the response.

Change-Id: Icda0919378ebf1deba3a4c7d6d6d010a09eed3ce
parent bf2e25d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ public class Utils {
                    Log.d(TAG, "Ignoring incompatible update " + update.getName());
                }
            } catch (JSONException e) {
                Log.e(TAG, "Could not parse update object, index=" + i);
                Log.e(TAG, "Could not parse update object, index=" + i, e);
            }
        }