Update err copy

This commit is contained in:
Neeraj Gupta
2025-05-10 07:26:44 +05:30
parent 93cd2d30e4
commit 57a4e6dd15

View File

@@ -104,7 +104,7 @@ func (c *UserController) GetSRPAttributes(context *gin.Context, email string) (*
}
if limit, limitErr := c.SRPLimiter.Get(context, "get_srp"); limitErr == nil {
if limit.Reached {
c.DiscordController.NotifyPotentialAbuse("hitting srp limit")
c.DiscordController.NotifyPotentialAbuse("swallowing missing srp errors")
return fSrpAttributes(email, c.HashingKey)
}
}