mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Closes #742
This commit is contained in:
parent
7b18f52fec
commit
426002aaa2
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue