commit | a0780033bbd69d3e8f68c9e2cfef24bb83d4eae9 | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Tue Mar 03 14:57:35 2020 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Tue Mar 03 14:57:35 2020 +0000 |
tree | fa4698371e33d090cf806c8d827e96a85b0f290c | |
parent | eeaffa39795210244f8ae1fe4c6620026d43bd05 [diff] | |
parent | 4b402bec858a8e955d85fb872eecbad4023b15ba [diff] |
Merge "Don't log cancellation exception"
diff --git a/models-interactions/model-actors/actorServiceProvider/src/main/java/org/onap/policy/controlloop/actorserviceprovider/impl/BidirectionalTopicOperation.java b/models-interactions/model-actors/actorServiceProvider/src/main/java/org/onap/policy/controlloop/actorserviceprovider/impl/BidirectionalTopicOperation.java index 1ae8049..b38ddb0 100644 --- a/models-interactions/model-actors/actorServiceProvider/src/main/java/org/onap/policy/controlloop/actorserviceprovider/impl/BidirectionalTopicOperation.java +++ b/models-interactions/model-actors/actorServiceProvider/src/main/java/org/onap/policy/controlloop/actorserviceprovider/impl/BidirectionalTopicOperation.java
@@ -172,11 +172,11 @@ throw new IllegalArgumentException("cannot encode request", e); } + logMessage(EventType.OUT, topicHandler.getSinkTopicCommInfrastructure(), topicHandler.getSinkTopic(), request); + if (!topicHandler.send(json)) { throw new IllegalStateException("nothing published"); } - - logMessage(EventType.OUT, topicHandler.getSinkTopicCommInfrastructure(), topicHandler.getSinkTopic(), request); } /**