mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Those should be errors
This commit is contained in:
@@ -138,11 +138,13 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
if (tradeOffer.State != Steam.TradeOffer.ETradeOfferState.Active) {
|
||||
Logging.LogGenericError("Ignoring trade in non-active state!", Bot.BotName);
|
||||
return null;
|
||||
}
|
||||
|
||||
ParseTradeResult result = await ShouldAcceptTrade(tradeOffer).ConfigureAwait(false);
|
||||
if (result == null) {
|
||||
Logging.LogNullError(nameof(result), Bot.BotName);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user