Log error message
This commit is contained in:
1 parent
54db808b83
commit
91be37fd8a
1 file changed
+1
-1
@@ -278,7 +278,7 @@ namespace HttpClient
|
|||||||
|
|
||||||
while tryCount > 0
|
while tryCount > 0
|
||||||
backoffMs = 1000 + Rnd(2000)
|
backoffMs = 1000 + Rnd(2000)
|
||||||
LogInfo("Request failed with status code:", response.StatusCode(), "ID:", m.urlTransfer.GetIdentity(), `\nRetrying:`, m._tryCount - tryCount, "in", backoffMs, "ms")
|
LogInfo("Request failed ID:", m.urlTransfer.GetIdentity(), "ErrorMessage:", response.ErrorMessage(), `\nRetrying:`, m._tryCount - tryCount, "in", backoffMs, "ms")
|
||||||
|
|
||||||
m.urlTransfer = invalid
|
m.urlTransfer = invalid
|
||||||
m._cache = invalid
|
m._cache = invalid
|
||||||
|
|||||||
Reference in new issue
Block a user