Print stack trace if the JSON could not be parsed
This helps to identify errors in the response. Change-Id: Icda0919378ebf1deba3a4c7d6d6d010a09eed3ce
This commit is contained in:
parent
bf2e25d400
commit
6fd45962c1
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user