[skip ci] better log for http retries

This commit is contained in:
Brahim Hadriche committed 2025-11-10 08:55:01 -05:00
1 parent 103b7f2a71
commit c3494a7f5d
1 file changed
+1 -1
@@ -454,7 +454,7 @@ namespace HttpClient
backoffMs = 1000 + Rnd(2000)
tryNumber = m._tryCount - triesLeft + 1
LogWarnNoTelemetry("Request failed ID:", m.urlTransfer.GetIdentity(), "ErrorMessage:", response.ErrorMessage(), `\nRetrying: (`, tryNumber, "/", m._tryCount, ") in", backoffMs, "ms")
LogWarnTelemetry(response.ErrorMessage())
LogWarnTelemetry(response.ErrorMessage() + `\n` + m.ToCurlCommand())
if IsFunction(m._retryCallback)
try