Fix the a log in Model Properties 13/16413/1
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Thu, 28 Sep 2017 13:33:45 +0000 (15:33 +0200)
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Thu, 28 Sep 2017 13:44:45 +0000 (15:44 +0200)
One of the log did not contain the stacktrace for Model properties

Change-Id: I5f269bb1744343ef9646cf818babfd77ea237b76
Issue-ID: CLAMP-54
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
src/main/java/org/onap/clamp/clds/model/prop/ModelProperties.java

index b9effc5..7111f1d 100644 (file)
@@ -135,7 +135,7 @@ public class ModelProperties {
                                             .newInstance(this, modelBpmn, modelJson)));
                         } catch (InstantiationException | NoSuchMethodException | IllegalAccessException
                                 | InvocationTargetException e) {
-                            logger.warn("Unable to instantiate a ModelElement, exception follows: " + e);
+                            logger.warn("Unable to instantiate a ModelElement, exception follows: ", e);
                         }
                     });
         }