fix context cancelled error instead of error

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2025-11-21 01:13:26 +01:00
parent ce394bda0e
commit 46a162c031
+2 -2
View File
@@ -516,7 +516,7 @@ func (a *APISender) SendTest(
}
requestBody := body.String()
res, resBodyClose, err := a.sendRequest(
context.Background(),
ctx,
apiSender,
headers,
url,
@@ -632,7 +632,7 @@ func (a *APISender) SendWithCustomURL(
)
resp, respBodyClose, err := a.sendRequest(
context.Background(),
ctx,
apiSender,
headers,
url,