Skip to content

Commit

Permalink
adapt to new input argument in ParseException
Browse files Browse the repository at this point in the history
  • Loading branch information
kkonstantine committed Sep 1, 2022
1 parent 9e8573a commit d161d22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ List<InputRow> readAsList()
return parseMetric(Metric.parseFrom(source.getBuffer()));
}
catch (InvalidProtocolBufferException e) {
throw new ParseException(e, "Protobuf message could not be parsed");
throw new ParseException(null, e, "Protobuf message could not be parsed");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ List<InputRow> readAsList()
return parseMetricsData(MetricsData.parseFrom(source.getBuffer()));
}
catch (InvalidProtocolBufferException e) {
throw new ParseException(e, "Protobuf message could not be parsed");
throw new ParseException(null, e, "Protobuf message could not be parsed");
}
}

Expand Down

0 comments on commit d161d22

Please sign in to comment.