Improved GenerateHashForData error logging

This commit is contained in:
Chomp
2025-02-03 14:11:01 +00:00
parent 4ad2fdf25f
commit fcae006a13
+2 -2
View File
@@ -1,4 +1,4 @@
using System.Text;
using System.Text;
using System.Text.RegularExpressions;
using System.Security.Cryptography;
using SptCommon.Annotations;
@@ -92,7 +92,7 @@ public class HashUtil
return Convert.ToHexString(sha1HashData).Replace("-", string.Empty);
}
throw new NotImplementedException("Provided hash algorithm is not supported.");
throw new NotImplementedException($"Provided hash algorithm: {algorithm} is not supported.");
}
/// <summary>