From ddf03547a3d22092a989232a80fc091ab62d22e3 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sun, 5 Jul 2020 12:05:06 +0200 Subject: [PATCH] Fix remaining brain damage --- ArchiSteamFarm/MobileAuthenticator.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArchiSteamFarm/MobileAuthenticator.cs b/ArchiSteamFarm/MobileAuthenticator.cs index b79f4aebc..1a2c5f37f 100644 --- a/ArchiSteamFarm/MobileAuthenticator.cs +++ b/ArchiSteamFarm/MobileAuthenticator.cs @@ -89,7 +89,7 @@ namespace ArchiSteamFarm { (bool success, string deviceID) = await CachedDeviceID.GetValue().ConfigureAwait(false); if (!success || string.IsNullOrEmpty(deviceID)) { - Bot.ArchiLogger.LogGenericError(Strings.WarningFailedWithError, nameof(deviceID)); + Bot.ArchiLogger.LogGenericError(string.Format(Strings.WarningFailedWithError, nameof(deviceID))); return null; } @@ -120,7 +120,7 @@ namespace ArchiSteamFarm { (bool success, string deviceID) = await CachedDeviceID.GetValue().ConfigureAwait(false); if (!success || string.IsNullOrEmpty(deviceID)) { - Bot.ArchiLogger.LogGenericError(Strings.WarningFailedWithError, nameof(deviceID)); + Bot.ArchiLogger.LogGenericError(string.Format(Strings.WarningFailedWithError, nameof(deviceID))); return null; } @@ -226,7 +226,7 @@ namespace ArchiSteamFarm { (bool success, string deviceID) = await CachedDeviceID.GetValue().ConfigureAwait(false); if (!success || string.IsNullOrEmpty(deviceID)) { - Bot.ArchiLogger.LogGenericError(Strings.WarningFailedWithError, nameof(deviceID)); + Bot.ArchiLogger.LogGenericError(string.Format(Strings.WarningFailedWithError, nameof(deviceID))); return false; }