From 69dcf2fe0c0a65eef44505b7f3889fc49bc640b0 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 17 Feb 2026 14:24:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(logging):=20=E6=94=BE=E5=AE=BD=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=8F=82=E6=95=B0=E6=97=A5=E5=BF=97=E5=B1=95=E5=BC=80?= =?UTF-8?q?=E6=B7=B1=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/response_middleware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/core/response_middleware.py b/app/core/response_middleware.py index 9c8a4eb..7398b59 100644 --- a/app/core/response_middleware.py +++ b/app/core/response_middleware.py @@ -38,8 +38,8 @@ def _short_text(value: Any, max_len: int = 240) -> Any: def _sanitize_payload(value: Any, depth: int = 0) -> Any: - if depth > 4: - return "..." + if depth > 8: + return "" if isinstance(value, dict): result = {} for key, item in value.items():