chore: remove duplicate log

This commit is contained in:
kaichaosun 2024-12-18 14:42:35 +08:00
parent 1bcb41265f
commit 6b6cd5f81b
No known key found for this signature in database
GPG Key ID: 223E0F992F4F03BF

View File

@ -59,6 +59,5 @@ func (rl *RlnRateLimiter) Check(ctx context.Context, logger *zap.Logger) error {
if rl.Allow() {
return nil
}
logger.Error("could not send message rate limited", zap.Error(ErrRateLimited))
return ErrRateLimited
}