TyrantLucifer commented on code in PR #3572:
URL: 
https://github.com/apache/incubator-seatunnel/pull/3572#discussion_r1032860620


##########
seatunnel-formats/seatunnel-format-json/src/main/java/org/apache/seatunnel/format/json/JsonToRowConverters.java:
##########
@@ -354,7 +359,8 @@ private Object convertField(
         JsonToRowConverter fieldConverter, String fieldName, JsonNode field) {
         if (field == null) {
             if (failOnMissingField) {
-                throw new JsonParseException("Could not find field with name 
'" + fieldName + "'.");
+                throw new 
SeaTunnelJsonFormatException(SeaTunnelJsonFormatErrorCode.MISS_FIELD_EXCEPTION,

Review Comment:
   Remove useless error codes.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to