Skip to content

Commit

Permalink
feat: add log error in should ratelimit (#612)
Browse files Browse the repository at this point in the history
Signed-off-by: frazao.jhonn <[email protected]>
  • Loading branch information
jwillker authored Jun 18, 2024
1 parent 7ca7eca commit 0ddd444
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/service/ratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ func (this *service) ShouldRateLimit(
return
}

logger.Debugf("caught error during call")
logger.Debugf("caught error during call: %v", err)

finalResponse = nil
switch t := err.(type) {
case redis.RedisError:
Expand Down

0 comments on commit 0ddd444

Please sign in to comment.