From a986963b5c2d959373c13d63a402635d0eb77411 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Tue, 28 Nov 2017 21:34:50 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/CryptoHelper.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArchiSteamFarm/CryptoHelper.cs b/ArchiSteamFarm/CryptoHelper.cs index 740f81ac2..47ddc699a 100644 --- a/ArchiSteamFarm/CryptoHelper.cs +++ b/ArchiSteamFarm/CryptoHelper.cs @@ -22,6 +22,7 @@ using System; using System.Security.Cryptography; using System.Text; +using ArchiSteamFarm.Localization; namespace ArchiSteamFarm { internal static class CryptoHelper { @@ -41,6 +42,7 @@ namespace ArchiSteamFarm { case ECryptoMethod.ProtectedDataForCurrentUser: return DecryptProtectedDataForCurrentUser(encrypted); default: + ASF.ArchiLogger.LogGenericError(string.Format(Strings.WarningUnknownValuePleaseReport, nameof(cryptoMethod), cryptoMethod)); return null; } } @@ -59,6 +61,7 @@ namespace ArchiSteamFarm { case ECryptoMethod.ProtectedDataForCurrentUser: return EncryptProtectedDataForCurrentUser(decrypted); default: + ASF.ArchiLogger.LogGenericError(string.Format(Strings.WarningUnknownValuePleaseReport, nameof(cryptoMethod), cryptoMethod)); return null; } }