The Free Software Media System - Server Backend & API
little fixes for JustAMan
Phallacy56e306334201
diff --git a/Emby.Server.Implementations/Cryptography/CryptographyProvider.cs b/Emby.Server.Implementations/Cryptography/CryptographyProvider.csindex c4f0346314..dc528c280a 100644--- a/Emby.Server.Implementations/Cryptography/CryptographyProvider.cs+++ b/Emby.Server.Implementations/Cryptography/CryptographyProvider.cs@@ -132,8 +132,7 @@ namespace Emby.Server.Implementations.Cryptography}catch (Exception e){- iterations = defaultiterations;- throw new Exception($"Couldn't successfully parse iterations value from string:{hash.Parameters["iterations"]}", e);+ throw new InvalidDataException($"Couldn't successfully parse iterations value from string: {hash.Parameters["iterations"]}", e);}}return PBKDF2(hash.Id, hash.HashBytes, hash.SaltBytes, iterations);