diff --git a/ReactCommon/cxxreact/Value.cpp b/ReactCommon/cxxreact/Value.cpp index 6dc57e1c2..cc22bbb81 100644 --- a/ReactCommon/cxxreact/Value.cpp +++ b/ReactCommon/cxxreact/Value.cpp @@ -53,7 +53,7 @@ std::string Value::toJSONString(unsigned indent) const { Value Value::fromJSON(JSContextRef ctx, const String& json) { auto result = JSValueMakeFromJSONString(ctx, json); if (!result) { - throwJSExecutionException("Failed to create String from JSON"); + throwJSExecutionException("Failed to create String from JSON: %s", json.str().c_str()); } return Value(ctx, result); }