Skip to content

Commit

Permalink
Update attack.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyshields authored Nov 21, 2023
1 parent bbe3fee commit 4c59ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/attack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def call(env)
def allowed_errors
errors = []
errors << Dalli::DalliError if defined?(Dalli)
errors << Redis::BaseError if defined?(Redis)
errors << Redis::BaseConnectionError if defined?(Redis)
errors
end
end
Expand Down

0 comments on commit 4c59ce5

Please sign in to comment.