Skip to content

Commit

Permalink
Fix #174
Browse files Browse the repository at this point in the history
  • Loading branch information
HaojunRen committed Sep 3, 2021
1 parent 11816a1 commit 5a76c7b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ public class DefaultServiceStrategyCallableWrapper implements ServiceStrategyCal
public <T> Callable<T> wrapCallable(Callable<T> callable) {
RequestAttributes originRequestAttributes = RequestContextHolder.getRequestAttributes();
if (requestDecoratorEnabled) {
originRequestAttributes = ServiceStrategyRequestDecoratorFactory.decorateRequestAttributes(originRequestAttributes);
if (originRequestAttributes != null) {
originRequestAttributes = ServiceStrategyRequestDecoratorFactory.decorateRequestAttributes(originRequestAttributes);
}
}

RequestAttributes requestAttributes = originRequestAttributes;
Expand Down

0 comments on commit 5a76c7b

Please sign in to comment.