Merge "Semicolon at the end of the Statement and Remove trailing whitespaces at the...
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / PombaClientImpl.java
index 1ee4da0..5641bc5 100644 (file)
@@ -51,8 +51,8 @@ public class PombaClientImpl implements PombaClientInterface {
         try {
             pombaRestInterface.RestPost(fromAppId, uri, new ObjectMapper().writeValueAsString(request));
         } catch (Exception e) {
-            logger.info(EELFLoggerDelegate.errorLogger, methodName + e.toString());
-            logger.debug(EELFLoggerDelegate.debugLogger, methodName + e.toString());
+            logger.info(EELFLoggerDelegate.errorLogger, methodName, e);
+            logger.debug(EELFLoggerDelegate.debugLogger, methodName, e);
         }
     }
 }