mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Closes #742
This commit is contained in:
@@ -110,6 +110,9 @@ namespace ArchiSteamFarm {
|
||||
);
|
||||
|
||||
return Encoding.UTF8.GetString(decryptedData);
|
||||
} catch (PlatformNotSupportedException e) {
|
||||
ASF.ArchiLogger.LogGenericWarningException(e);
|
||||
return null;
|
||||
} catch (Exception e) {
|
||||
ASF.ArchiLogger.LogGenericException(e);
|
||||
return null;
|
||||
@@ -151,6 +154,9 @@ namespace ArchiSteamFarm {
|
||||
);
|
||||
|
||||
return Convert.ToBase64String(encryptedData);
|
||||
} catch (PlatformNotSupportedException e) {
|
||||
ASF.ArchiLogger.LogGenericWarningException(e);
|
||||
return null;
|
||||
} catch (Exception e) {
|
||||
ASF.ArchiLogger.LogGenericException(e);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user