From 42d5a7131457c326d0784287829c2c0e8975f89a Mon Sep 17 00:00:00 2001 From: luqingjie <544309509@qq.com> Date: Mon, 19 Oct 2026 11:53:46 -0400 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/system/service/TelegramAuditService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/TelegramAuditService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/TelegramAuditService.java index 7afae9a..f74e32f 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/TelegramAuditService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/TelegramAuditService.java @@ -130,7 +130,7 @@ public class TelegramAuditService { } } catch (RestClientException exception) { // RestTemplate原始异常可能包含带Bot Token的完整URL,禁止向日志、数据库或响应透传。 - throw new CustomException("Telegram接口连接失败或超时"); + throw new CustomException("Telegram接口连接失败或超时 "+ exception.getMessage()); } }