Skip to content

Commit

Permalink
handler test error
Browse files Browse the repository at this point in the history
  • Loading branch information
baomingyu committed Mar 8, 2024
1 parent 153bdab commit 020ab5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public RowData deserializeInternal(@Nullable byte[] message) throws Exception {
}
return rowData;
} catch (Throwable t) {
failureHandler.onParsingMsgFailure(message, new RuntimeException(
failureHandler.onParsingMsgFailure(text, new RuntimeException(
String.format("Could not properly deserialize csv. Text=[{}].", text), t));
}
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public RowData deserializeInternal(@Nullable byte[] message) throws Exception {
try {
rowData = (RowData) runtimeConverter.convert(jsonStr);
} catch (Throwable t) {
failureHandler.onParsingMsgFailure(message, new RuntimeException(
failureHandler.onParsingMsgFailure(jsonStr, new RuntimeException(
String.format("Could not properly deserialize json. Text=[%s].", jsonStr), t));
}
return rowData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public RowData deserializeInternal(byte[] bytes) throws Exception {
}
return rowData;
} catch (Throwable t) {
failureHandler.onParsingMsgFailure(bytes, new RuntimeException(
failureHandler.onParsingMsgFailure(text, new RuntimeException(
String.format("Could not properly deserialize kv. Text=[{}].", text), t));
}
return null;
Expand Down

0 comments on commit 020ab5b

Please sign in to comment.