From 5e5e4d11f8db01f5b3ac102e6d4cef1fa88feeb5 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Tue, 21 Mar 2017 15:57:34 +0100 Subject: [PATCH] Misc log fix --- ArchiSteamFarm/Trading.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArchiSteamFarm/Trading.cs b/ArchiSteamFarm/Trading.cs index 47aa00685..8ed9d6fe2 100644 --- a/ArchiSteamFarm/Trading.cs +++ b/ArchiSteamFarm/Trading.cs @@ -250,7 +250,7 @@ namespace ArchiSteamFarm { HashSet inventory = await Bot.ArchiWebHandler.GetMySteamInventory(false, new HashSet { Steam.Item.EType.TradingCard }).ConfigureAwait(false); if ((inventory == null) || (inventory.Count == 0)) { // If we can't check our inventory when not using MatchEverything, this is a temporary failure - Bot.ArchiLogger.LogGenericWarning(string.Join(Strings.ErrorIsEmpty, nameof(inventory))); + Bot.ArchiLogger.LogGenericWarning(string.Format(Strings.ErrorIsEmpty, nameof(inventory))); return new ParseTradeResult(tradeOffer.TradeOfferID, ParseTradeResult.EResult.RejectedTemporarily); } @@ -262,7 +262,7 @@ namespace ArchiSteamFarm { // If for some reason Valve is talking crap and we can't find mentioned items, this is a temporary failure if (inventory.Count == 0) { - Bot.ArchiLogger.LogGenericWarning(string.Join(Strings.ErrorIsEmpty, nameof(inventory))); + Bot.ArchiLogger.LogGenericWarning(string.Format(Strings.ErrorIsEmpty, nameof(inventory))); return new ParseTradeResult(tradeOffer.TradeOfferID, ParseTradeResult.EResult.RejectedTemporarily); }