wuchunfu commented on code in PR #3524:
URL:
https://github.com/apache/incubator-seatunnel/pull/3524#discussion_r1031040053
##########
seatunnel-connectors-v2/connector-google-sheets/src/main/java/org/apache/seatunnel/connectors/seatunnel/google/sheets/deserialize/GoogleSheetsDeserializer.java:
##########
@@ -50,7 +52,8 @@ public SeaTunnelRow deserializeRow(List<Object> row) {
String rowStr = objectMapper.writeValueAsString(map);
return deserializationSchema.deserialize(rowStr.getBytes());
} catch (IOException e) {
- throw new RuntimeException("Object json deserialization
exception.", e);
+ throw new
GoogleSheetsConnectorException(GoogleSheetsConnectorErrorCode.OBJECT_JSON_DESERIALIZATION_FAILD,
Review Comment:
makes sense, done
--
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]