summaryrefslogtreecommitdiffstats
path: root/rulemgt
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-11-09 15:55:54 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-11-09 15:55:54 +0800
commitcb503f858112a7d6ff1b3b07e39d2bcdb6c72fb1 (patch)
tree8fbf485596027d77dc4c52ce7dd268ccaf760f40 /rulemgt
parent54c2f258c7e991cb3b5ea7753f48aab6fdf04261 (diff)
Add the Stacktrace into the Log
Change-Id: Ib07c9f0b306eb77c7e27cf889d6e7f03f8fe583d Issue-ID: HOLMES-86 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt')
-rw-r--r--rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java b/rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java
index 146e034..9e324e6 100644
--- a/rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java
+++ b/rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java
@@ -80,7 +80,7 @@ public class RuleMgtWrapper {
result = correlationRuleDao.saveRule(correlationRule);
} catch (CorrelationException e) {
engineWarpper.deleteRuleFromEngine(packageName);
- throw new CorrelationException(e.getMessage());
+ throw new CorrelationException(e.getMessage(), e);
}
RuleAddAndUpdateResponse ruleAddAndUpdateResponse = new RuleAddAndUpdateResponse();
ruleAddAndUpdateResponse.setRuleId(result.getRid());