Skip to content

Help users understand more clearly when the store is misconfigured#274

Merged
grzuy merged 1 commit intorack:masterfrom
grzuy:help_debug_cache_issues
Mar 9, 2018
Merged

Help users understand more clearly when the store is misconfigured#274
grzuy merged 1 commit intorack:masterfrom
grzuy:help_debug_cache_issues

Conversation

@grzuy
Copy link
Collaborator

@grzuy grzuy commented Feb 1, 2018

Instead of throwing

undefined method `increment' for nil:NilClass

raise

Rack::Attack::MissingStoreError

or

Rack::Attack::MisconfiguredStoreError

to aid users in debugging

@grzuy grzuy added this to the 5.1.0 milestone Mar 9, 2018
@grzuy grzuy merged commit 922917d into rack:master Mar 9, 2018
@grzuy grzuy deleted the help_debug_cache_issues branch March 9, 2018 13:28
@grzuy
Copy link
Collaborator Author

grzuy commented Mar 15, 2018

Helps with #300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant