Fix remaining brain damage

This commit is contained in:
JustArchi
2020-07-05 12:05:06 +02:00
parent f0748dbf42
commit ddf03547a3

View File

@@ -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;
}