Skip to content

Add error_handler option as Proc to Dalli::Store #907

@johnnyshields

Description

@johnnyshields

Currently Dalli::Store supports a raise_errors (true/false) config.

I'd like more fine grained error handling like Rail's Redis Store supports. Would propose to add error_handler option as a proc, which is what Redis does.

My main reason for this is related to: rack/rack-attack#577

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions