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

Ping Function in Redis panics when called without being connected to redis in application #1078

Closed
coolwednesday opened this issue Oct 4, 2024 · 2 comments · Fixed by #1085
Assignees

Comments

@coolwednesday
Copy link
Contributor

coolwednesday commented Oct 4, 2024

Describe the bug
I tried running the http-server example and if redis is not connected and we try to call Redis.Ping() , it results in panic and exits the apllication

To Reproduce
Run the application without connecting database and providing redis configuration.
Hit the trace endpoint.

The error is

Screenshot 2024-10-04 at 3 59 52 PM

Expected behavior
Error log and no panic

@vigneshp91
Copy link
Contributor

Can you assign this to me? @coolwednesday

@Umang01-hash
Copy link
Contributor

Sure @vigneshp91. Assigned to you.

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 a pull request may close this issue.

3 participants