summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/ArtifactHandlerProvider.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/ArtifactHandlerProvider.java b/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/ArtifactHandlerProvider.java
index 51f286ee7..dc6489dc3 100644
--- a/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/ArtifactHandlerProvider.java
+++ b/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/ArtifactHandlerProvider.java
@@ -92,7 +92,7 @@ public class ArtifactHandlerProvider implements AutoCloseable, ArtifactHandlerSe
try {
ArtifactHandlerProviderUtil.loadProperties();
} catch (Exception e) {
- log.error("Caught Exception while trying to load properties file");
+ log.error("Caught exception while trying to load properties file", e);
}
// Listener for changes to Services tree
@@ -110,11 +110,10 @@ public class ArtifactHandlerProvider implements AutoCloseable, ArtifactHandlerSe
try {
CheckedFuture<Void, TransactionCommitFailedException> checkedFuture = t.submit();
checkedFuture.get();
- log.info("Create Containers succeeded!: ");
+ log.info("Create containers succeeded!");
} catch (InterruptedException | ExecutionException e) {
- log.error("Create Containers Failed: " + e);
- e.printStackTrace();
+ log.error("Create containers failed", e);
}
}