diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-11-09 15:55:54 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-11-09 15:55:54 +0800 |
commit | cb503f858112a7d6ff1b3b07e39d2bcdb6c72fb1 (patch) | |
tree | 8fbf485596027d77dc4c52ce7dd268ccaf760f40 /rulemgt/src/main | |
parent | 54c2f258c7e991cb3b5ea7753f48aab6fdf04261 (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/src/main')
-rw-r--r-- | rulemgt/src/main/java/org/onap/holmes/rulemgt/wrapper/RuleMgtWrapper.java | 2 |
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());
|