diff --git a/pom.xml b/pom.xml index 205d8db..64e675f 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.appform.core hystrix-function-wrapper - 1.1.4 + 1.1.5 Hystrix Function Wrapper An utility lib that allows lambdas to be wrapped in hystrix commands https://github.com/santanusinha/hystrix-function-wrapper diff --git a/src/main/java/io/appform/core/hystrix/GenericHystrixCommand.java b/src/main/java/io/appform/core/hystrix/GenericHystrixCommand.java index ace61df..ec3689e 100644 --- a/src/main/java/io/appform/core/hystrix/GenericHystrixCommand.java +++ b/src/main/java/io/appform/core/hystrix/GenericHystrixCommand.java @@ -60,7 +60,7 @@ protected R run() throws Exception { if (scope != null) { scope.close(); } - MDC.clear(); + MDC.remove(TRACE_ID); } } };