From 1ddc6d2f4b2761c0ecd836cfe76bf14c9ce27c18 Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Fri, 17 Feb 2017 09:27:34 +0800 Subject: Log the Discarded Exception Change-Id: I67e859751f59a9542e4ca384eb538cbf427f33b2 Issue-ID: HOLMES-13 Signed-off-by: GuangrongFu --- .../main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java | 1 + 1 file changed, 1 insertion(+) (limited to 'rulemgt/src') 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)); } -- cgit 1.2.3-korg