Change-Id: If68c20e079d1d48b48b43401c95363b42bbfe5f5
Issue-ID: HOLMES-86
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
}
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);
}
vesAlarmList = subscriber.subscribe();
vesAlarmList.forEach(vesAlarm -> droolsEngine.putRaisedIntoStream(vesAlarm));
} catch (CorrelationException e) {
- log.error("Failed polling request alarm. " + e.getMessage());
+ log.error("Failed to process alarms.", e);
} catch (Exception e) {
log.error("An error occurred while processing alarm.", e);
}