diff --git a/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/handler/BaseThreadDetailStateHandler.java b/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/handler/BaseThreadDetailStateHandler.java index b7bc970e..6c4c7b94 100644 --- a/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/handler/BaseThreadDetailStateHandler.java +++ b/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/handler/BaseThreadDetailStateHandler.java @@ -47,9 +47,11 @@ public class BaseThreadDetailStateHandler implements ThreadDetailState { try { thread = (Thread) ReflectUtil.getFieldValue(worker, THREAD); if (thread == null) { + log.warn("Reflection get worker thread is null. Worker :: {}", worker); continue; } } catch (Exception ex) { + log.error("Reflection get worker thread exception. Worker :: {}", worker, ex); continue; }