[skip ci] warn on failed requests

This commit is contained in:
Brahim Hadriche committed 2024-01-07 11:21:07 -05:00
1 parent 86d5710969
commit 3ecac831bf
1 file changed
+1 -1
@@ -382,7 +382,7 @@ namespace HttpClient
while triesLeft > 0
backoffMs = 1000 + Rnd(2000)
tryNumber = m._tryCount - triesLeft + 1
LogInfo("Request failed ID:", m.urlTransfer.GetIdentity(), "ErrorMessage:", response.ErrorMessage(), `\nRetrying: (`, tryNumber, "/", m._tryCount, ") in", backoffMs, "ms")
LogWarn("Request failed ID:", m.urlTransfer.GetIdentity(), "ErrorMessage:", response.ErrorMessage(), `\nRetrying: (`, tryNumber, "/", m._tryCount, ") in", backoffMs, "ms")
if IsFunction(m._retryCallback)
try