From 53a4e161449ad0d6583997d8b41ad28eb5d213d9 Mon Sep 17 00:00:00 2001 From: Eric Zhao Date: Tue, 26 Mar 2019 12:53:39 +0800 Subject: [PATCH] Fix bug for completing entry with parameters in SentinelResourceAspect Signed-off-by: Eric Zhao --- .../csp/sentinel/annotation/aspectj/SentinelResourceAspect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentinel-extension/sentinel-annotation-aspectj/src/main/java/com/alibaba/csp/sentinel/annotation/aspectj/SentinelResourceAspect.java b/sentinel-extension/sentinel-annotation-aspectj/src/main/java/com/alibaba/csp/sentinel/annotation/aspectj/SentinelResourceAspect.java index ae22ef6c..39f9a996 100644 --- a/sentinel-extension/sentinel-annotation-aspectj/src/main/java/com/alibaba/csp/sentinel/annotation/aspectj/SentinelResourceAspect.java +++ b/sentinel-extension/sentinel-annotation-aspectj/src/main/java/com/alibaba/csp/sentinel/annotation/aspectj/SentinelResourceAspect.java @@ -62,7 +62,7 @@ public class SentinelResourceAspect extends AbstractSentinelAspectSupport { throw ex; } finally { if (entry != null) { - entry.exit(); + entry.exit(1, pjp.getArgs()); } } }