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