diff --git a/android/app/src/main/java/com/microsoft/codepush/react/CodePushUtils.java b/android/app/src/main/java/com/microsoft/codepush/react/CodePushUtils.java index b0eb0c4d..697f5236 100644 --- a/android/app/src/main/java/com/microsoft/codepush/react/CodePushUtils.java +++ b/android/app/src/main/java/com/microsoft/codepush/react/CodePushUtils.java @@ -219,7 +219,7 @@ public static void setJSONValueForKey(JSONObject json, String key, Object value) try { json.put(key, value); } catch (JSONException e) { - throw new CodePushUnknownException("Unable to set value " + value + " for key " + key + " to JSONObject"); + throw new CodePushUnknownException("Unable to set value " + value + " for key " + key + " to JSONObject", e); } }