From 1c817426b87f4a273b46e409da528b592b7165d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Domeradzki?= Date: Wed, 15 Oct 2025 13:06:14 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/Steam/Cards/CardsFarmer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Steam/Cards/CardsFarmer.cs b/ArchiSteamFarm/Steam/Cards/CardsFarmer.cs index c50c62208..1466444ed 100644 --- a/ArchiSteamFarm/Steam/Cards/CardsFarmer.cs +++ b/ArchiSteamFarm/Steam/Cards/CardsFarmer.cs @@ -1031,7 +1031,8 @@ public sealed class CardsFarmer : IAsyncDisposable, IDisposable { IElement? nameNode = htmlDocument.QuerySelectorAll("span[class='profile_small_header_location']").LastOrDefault(); if (nameNode == null) { - Bot.ArchiLogger.LogNullError(nameNode); + // Normally we should log null error here, but here's why we don't: https://www.youtube.com/watch?v=nSKp2StlS6s&t=40s + Bot.ArchiLogger.LogGenericWarning(Strings.FormatErrorIsInvalid(nameof(nameNode))); return null; }