Testing the Impacts of Dependency Version
[holmes/engine-management.git] / engine-d / src / main / java / org / onap / holmes / engine / dcae / DcaeConfigurationPolling.java
index 01a98a4..40a3940 100644 (file)
@@ -31,7 +31,7 @@ public class DcaeConfigurationPolling implements Runnable {
 
     private String hostname;
 
-    public static long POLLING_PERIOD = 30 * 1000L;
+    public static final long POLLING_PERIOD = 30 * 1000L;
 
     private String prevConfigMd5 = Md5Util.md5(null);
 
@@ -51,7 +51,7 @@ public class DcaeConfigurationPolling implements Runnable {
             }
             prevConfigMd5 = md5;
         } catch (CorrelationException e) {
-            log.error("Failed to poll the DCAE configurations. " + e.getMessage());
+            log.error("Failed to poll the DCAE configurations. " + e.getMessage(), e);
         } catch (JsonProcessingException e) {
             log.info("Failed to generate the MD5 information for new configurations.", e);
         }