mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -992,6 +992,10 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
if (requestOptions.HasFlag(ERequestOptions.ReturnServerErrors) && response.StatusCode.IsServerErrorCode()) {
|
||||
if (Debugging.IsUserDebugging) {
|
||||
ArchiLogger.LogGenericDebug(string.Format(CultureInfo.CurrentCulture, Strings.Content, await response.Content.ReadAsStringAsync().ConfigureAwait(false)));
|
||||
}
|
||||
|
||||
// Do not retry on server errors in this case
|
||||
return response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user