gyfora commented on code in PR #574:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/574#discussion_r1175451671
##########
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:
We could catch all `Exception`s maybe?
--
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]