添加日志

This commit is contained in:
lu7213 committed 2026-10-19 11:53:46 -04:00
1 parent 13ba3a5fdb
commit 42d5a71314
1 file changed
+1 -1
@@ -130,7 +130,7 @@ public class TelegramAuditService {
} }
} catch (RestClientException exception) { } catch (RestClientException exception) {
// RestTemplate原始异常可能包含带Bot Token的完整URL,禁止向日志、数据库或响应透传。 // RestTemplate原始异常可能包含带Bot Token的完整URL,禁止向日志、数据库或响应透传。
throw new CustomException("Telegram接口连接失败或超时"); throw new CustomException("Telegram接口连接失败或超时 "+ exception.getMessage());
} }
} }