From 5141c019cd163781b84d2b0c4bb03a0f0159e29b Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Wed, 12 Nov 2025 11:28:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E5=B8=B8=E6=89=93=E5=8D=B04?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/czg/exception/CzgControllerAdvice.java | 1 + 1 file changed, 1 insertion(+) diff --git a/cash-common/cash-common-api-config/src/main/java/com/czg/exception/CzgControllerAdvice.java b/cash-common/cash-common-api-config/src/main/java/com/czg/exception/CzgControllerAdvice.java index 8e7d0f64..09f097af 100644 --- a/cash-common/cash-common-api-config/src/main/java/com/czg/exception/CzgControllerAdvice.java +++ b/cash-common/cash-common-api-config/src/main/java/com/czg/exception/CzgControllerAdvice.java @@ -146,6 +146,7 @@ public class CzgControllerAdvice { public CzgResult errorHandler(Exception ex) { Throwable rootCause = ex; while (rootCause.getCause() != null) { + log.info("rootCause:{}", rootCause.getClass()); rootCause = rootCause.getCause(); if (rootCause instanceof CzgException czgException) { return CzgResult.failure(czgException.getCode(), czgException.getMessage());