Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion how to handle redis errors #32

Open
maurorappa opened this issue Nov 10, 2015 · 2 comments
Open

suggestion how to handle redis errors #32

maurorappa opened this issue Nov 10, 2015 · 2 comments

Comments

@maurorappa
Copy link

I would like to know your opinion how to handle a redis error, in my case a Redis Evalsha issue due to malformed parameter

-ERR Error running script (call to f_ea25fc9ab8e5cb16221ba7d56aabcd764e112abb): @user_script:7: user_script:7: attempt to compare number with string

is the only way the Redis response parser? is it not overkill?
maybe a flag in redis_pass to handle an error?

Thanks!

@agentzh
Copy link
Member

agentzh commented Nov 11, 2015

@maurorappa This module is for the simplest use cases. If you need more control, then use of ngx_lua + lua-resty-redis is highly recommended.

@maurorappa
Copy link
Author

thanks!

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

No branches or pull requests

2 participants