Sonar Critical 27/35927/1
authorSP00501638 <SP00501638@techmahindra.com>
Thu, 15 Mar 2018 08:42:18 +0000 (14:12 +0530)
committerSP00501638 <SP00501638@techmahindra.com>
Thu, 15 Mar 2018 08:42:59 +0000 (14:12 +0530)
Either log or rethrow this exception
E2EServiceInstances.java:513

Sonar Link:
https://sonar.onap.org/issues?myIssues=true&open=AWIA0508RGy6eclHC5SJ&resolved=false

Location:
mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java

Change-Id: Ie38f89f41ea58ab5911c5213e7c39da68ded9209
Issue-ID: SO-483
Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java

index 9f028c1..e1ba94c 100644 (file)
@@ -511,6 +511,7 @@ public class E2EServiceInstances {
                                        "Successfully received response from BPMN engine", "BPMN", recipeLookupResult.getOrchestrationURI(),\r
                                        null);\r
                } catch (Exception e) {\r
+                       msoLogger.debug("Exception while communicate with BPMN engine", e);\r
                        msoLogger.recordMetricEvent(subStartTime, MsoLogger.StatusCode.ERROR,\r
                                        MsoLogger.ResponseCode.CommunicationError, "Exception while communicate with BPMN engine", "BPMN",\r
                                        recipeLookupResult.getOrchestrationURI(), null);\r