Skip to content

Commit 7f2d380

Browse files
committedMar 13, 2025
added a debug log '
1 parent edb6897 commit 7f2d380

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎httpclient/multipartrequest.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ func (c *Client) DoMultiPartRequest(method, endpoint string, files map[string][]
8080
var ctx context.Context
8181
var cancel context.CancelFunc
8282

83+
c.Sugar.Debugf("TIMEOUT: %v", c.config.CustomTimeout)
84+
8385
if c.config.CustomTimeout > 0 {
8486
ctx, cancel = context.WithTimeout(context.Background(), c.config.CustomTimeout)
8587
c.Sugar.Infow("Using timeout context for multipart request", zap.Duration("custom_timeout_seconds", c.config.CustomTimeout))

0 commit comments

Comments
 (0)