mxm commented on code in PR #574:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/574#discussion_r1175710518
##########
flink-kubernetes-operator-autoscaler/src/main/java/org/apache/flink/kubernetes/operator/autoscaler/AutoScalerInfo.java:
##########
@@ -95,7 +95,7 @@ public SortedMap<Instant, CollectedMetrics>
getMetricHistory() {
try {
return YAML_MAPPER.readValue(decompress(historyYaml), new
TypeReference<>() {});
- } catch (JsonProcessingException e) {
+ } catch (JacksonException e) {
Review Comment:
The reason I changed the exception type is that this is the base Jackson
exception which catches all Jackson related errors which we can't do anything
about. Leaving this as-is for now.
--
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]