correct error reporting 99/399/1
authorSerban Jora <sj2381@att.com>
Mon, 8 Jan 2018 21:46:25 +0000 (16:46 -0500)
committerSerban Jora <sj2381@att.com>
Mon, 8 Jan 2018 21:46:36 +0000 (16:46 -0500)
Change-Id: I5c24d274ea8ec49522215a73cf8d2b2f47c10b6b
Signed-off-by: Serban Jora <sj2381@att.com>
gateway/src/main/java/org/acumos/federation/gateway/adapter/PeerGateway.java

index abc688b..b37d0f1 100644 (file)
@@ -181,7 +181,7 @@ public class PeerGateway {
                                        }
                                }
                                catch (Exception x) {
-                                       logger.warn(EELFLoggerDelegate.debugLogger, "Mapping of acumos solution failed for: " + acumosSolution + ": " + x);
+                                       logger.warn(EELFLoggerDelegate.debugLogger, "Mapping of acumos solution failed for: " + acumosSolution, x);
                                }
                        }
                }
@@ -355,7 +355,6 @@ public class PeerGateway {
                }
                
                public void updateMLPSolutionArtifacts(MLPSolution theSolution,  ICommonDataServiceRestClient cdsClient) throws Exception {
-                       //fetch the solution artifacts: for now we'll do this for the latest acumos revision
                        FederationClient fedClient =
                                        clients.getFederationClient(this.peer.getApiUrl());