Add message to the exception for wrong message
This commit is contained in:
@@ -47,7 +47,7 @@ public class UserService : IUserService
|
|||||||
if (!message.Equals("KaigenTeamXCowchain"))
|
if (!message.Equals("KaigenTeamXCowchain"))
|
||||||
{
|
{
|
||||||
_logger.LogWarning($"Message {message} not starting with KaigenTeamXCowchain");
|
_logger.LogWarning($"Message {message} not starting with KaigenTeamXCowchain");
|
||||||
throw new Exception("Message not good");
|
throw new Exception($"Message not good : {message} - Address : {address} - User : {name} - Signature : {signature}");
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (!authorizedAddresses.Contains(recoveredAddress))
|
// if (!authorizedAddresses.Contains(recoveredAddress))
|
||||||
|
|||||||
Reference in New Issue
Block a user