diff options
author | Liam Fallon <liam.fallon@est.tech> | 2020-12-21 10:05:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-12-21 10:05:51 +0000 |
commit | 8cbea70d818013eaec06d17b9620453168649ef2 (patch) | |
tree | b0dbee142b7c26bc49b64c2ab2a9c546b837bd65 /plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-yaml/src/main | |
parent | 395b49a08401890e7fa3af1fc869e4049a4bda36 (diff) | |
parent | a3979b8a14f6e67de406b29c3e0ad0c516c3bc54 (diff) |
Merge "Prune superfluous log and exception messages"
Diffstat (limited to 'plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-yaml/src/main')
-rw-r--r-- | plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-yaml/src/main/java/org/onap/policy/apex/plugins/event/protocol/yaml/Apex2YamlEventConverter.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-yaml/src/main/java/org/onap/policy/apex/plugins/event/protocol/yaml/Apex2YamlEventConverter.java b/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-yaml/src/main/java/org/onap/policy/apex/plugins/event/protocol/yaml/Apex2YamlEventConverter.java index e6ee090e4..59c9c21c1 100644 --- a/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-yaml/src/main/java/org/onap/policy/apex/plugins/event/protocol/yaml/Apex2YamlEventConverter.java +++ b/plugins/plugins-event/plugins-event-protocol/plugins-event-protocol-yaml/src/main/java/org/onap/policy/apex/plugins/event/protocol/yaml/Apex2YamlEventConverter.java @@ -112,10 +112,8 @@ public class Apex2YamlEventConverter implements ApexEventProtocolConverter { try { eventList.add(yamlMap2ApexEvent(eventName, yamlMap)); } catch (final Exception e) { - final String errorString = "Failed to unmarshal YAML event: " + e.getMessage() + ", event=" - + yamlEventString; - LOGGER.warn(errorString, e); - throw new ApexEventException(errorString, e); + throw new ApexEventException("Failed to unmarshal YAML event, event=" + + yamlEventString, e); } // Return the list of events we have unmarshalled |