Github user haoch commented on a diff in the pull request: https://github.com/apache/incubator-eagle/pull/609#discussion_r86718175 --- Diff: eagle-core/eagle-alert-parent/eagle-alert/alert-common/src/main/java/org/apache/eagle/alert/config/ConfigBusConsumer.java --- @@ -54,7 +54,12 @@ public ConfigBusConsumer(ZKConfig config, String topic, ConfigChangeCallback cal public ConfigValue getConfigValue() throws Exception { byte[] value = curator.getData().forPath(zkPath); - ConfigValue v = mapper.readValue(value, ConfigValue.class); + ConfigValue v; + try { + v = mapper.readValue(value, ConfigValue.class); + } catch (JsonParseException e) { + v = new ConfigValue(); --- End diff -- Pls. add `LOG.warn(e.getMessage())` for the ignored exception.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---