add debug log

This commit is contained in:
Дмитрий Саенко 2025-10-23 19:55:35 +03:00
parent f8c2e90e44
commit 1f3a7c947a

View file

@ -2488,6 +2488,7 @@ func (s *InboundService) syncWithSlaves(method string, path string, contentType
req.Header.Set("X-API-KEY", server.APIKey) req.Header.Set("X-API-KEY", server.APIKey)
client := &http.Client{} client := &http.Client{}
logger.Debug("debug req", req)
resp, err := client.Do(req) resp, err := client.Do(req)
if err != nil { if err != nil {
logger.Warningf("Failed to send request to server %s: %v", server.Name, err) logger.Warningf("Failed to send request to server %s: %v", server.Name, err)