Skip to content

Commit 1c81742

Browse files
committed
Misc
1 parent 5ec9bc1 commit 1c81742

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ArchiSteamFarm/Steam/Cards/CardsFarmer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,8 @@ private async Task<bool> FarmSolo(Game game) {
10311031
IElement? nameNode = htmlDocument.QuerySelectorAll("span[class='profile_small_header_location']").LastOrDefault();
10321032

10331033
if (nameNode == null) {
1034-
Bot.ArchiLogger.LogNullError(nameNode);
1034+
// Normally we should log null error here, but here's why we don't: https://www.youtube.com/watch?v=nSKp2StlS6s&t=40s
1035+
Bot.ArchiLogger.LogGenericWarning(Strings.FormatErrorIsInvalid(nameof(nameNode)));
10351036

10361037
return null;
10371038
}

0 commit comments

Comments
 (0)