diff --git a/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolPostProcessor.java b/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolPostProcessor.java index 3315cd47..fbac34ac 100644 --- a/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolPostProcessor.java +++ b/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolPostProcessor.java @@ -73,6 +73,7 @@ public final class DynamicThreadPoolPostProcessor implements BeanPostProcessor { } } catch (Exception ex) { log.error("Failed to create dynamic thread pool in annotation mode.", ex); + return bean; } DynamicThreadPoolExecutor dynamicExecutor = (DynamicThreadPoolExecutor) bean;