Misc trade logging enhancements

This commit is contained in:
JustArchi
2020-08-11 11:34:32 +02:00
parent 0beb000d4b
commit 06b1b8deeb
7 changed files with 87 additions and 7 deletions

View File

@@ -286,6 +286,8 @@ namespace ArchiSteamFarm {
try {
inventory = await Bot.ArchiWebHandler.GetInventoryAsync(Bot.SteamID, appID, contextID).Where(item => item.Tradable && filterFunction(item)).ToHashSetAsync().ConfigureAwait(false);
} catch (HttpRequestException e) {
Bot.ArchiLogger.LogGenericWarningException(e);
return (false, string.Format(Strings.WarningFailedWithError, e.Message));
} catch (Exception e) {
Bot.ArchiLogger.LogGenericException(e);