summaryrefslogtreecommitdiffstats
path: root/rulemgt
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2017-02-17 09:27:34 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2017-02-17 09:27:34 +0800
commit1ddc6d2f4b2761c0ecd836cfe76bf14c9ce27c18 (patch)
treee3ea66d1a1c3cbfc5385dc04b9636bc2f3fe7c6b /rulemgt
parent117d10f41822d05c9162d771d7ab4d127d11ffad (diff)
Log the Discarded Exception
Change-Id: I67e859751f59a9542e4ca384eb538cbf427f33b2 Issue-ID: HOLMES-13 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt')
-rw-r--r--rulemgt/src/main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/rulemgt/src/main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java b/rulemgt/src/main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java
index 71bd812..8395df7 100644
--- a/rulemgt/src/main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java
+++ b/rulemgt/src/main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java
@@ -119,6 +119,7 @@ public class RuleMgtResources {
throw ExceptionUtil.buildExceptionResponse(I18nProxy.getInstance().getValue(locale,
e.getMessage()));
} catch (Exception e) {
+ log.error("update rule:" + ruleUpdateRequest.getRuleId() + " failed", e);
throw ExceptionUtil.buildExceptionResponse(I18nProxy.getInstance().getValue(locale,
I18nProxy.RULE_MANAGEMENT_UNKNOWN_EXCEPTION));
}