diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-02-18 16:32:01 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-02-18 16:32:01 +0800 |
commit | e06a9a3d99ce327336f9d79a3843791bcb342369 (patch) | |
tree | 9d7b7c628271803462540fa9145ef88e209bb826 /rulemgt/src/main/java/org | |
parent | 5947322b7253ba4eff59ee38951114e77050c8c7 (diff) |
Add new UT Codes
Change-Id: I3b9ffb29274a1b28ae31055a5052a90af643682a
Issue-ID: HOLMES-43
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt/src/main/java/org')
-rw-r--r-- | rulemgt/src/main/java/org/openo/holmes/rulemgt/wrapper/RuleMgtWrapper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rulemgt/src/main/java/org/openo/holmes/rulemgt/wrapper/RuleMgtWrapper.java b/rulemgt/src/main/java/org/openo/holmes/rulemgt/wrapper/RuleMgtWrapper.java index 67183b7..b1ed44e 100644 --- a/rulemgt/src/main/java/org/openo/holmes/rulemgt/wrapper/RuleMgtWrapper.java +++ b/rulemgt/src/main/java/org/openo/holmes/rulemgt/wrapper/RuleMgtWrapper.java @@ -141,7 +141,7 @@ public class RuleMgtWrapper { .getJdbiDaoByOnDemand(CorrelationRuleDao.class)
.getRuleByRid(ruleDeleteRequest.getRuleId());
} catch (Exception e) {
- throw new CorrelationException(I18nProxy.RULE_MANAGEMENT_DB_ERROR);
+ throw new CorrelationException(I18nProxy.RULE_MANAGEMENT_DB_ERROR, e);
}
if (correlationRule == null) {
log.warn("the rule:rule id=" + ruleDeleteRequest.getRuleId()
|