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

fix: log error messages instead of values #686

Merged
merged 2 commits into from
Sep 22, 2024

Conversation

KaviiSuri
Copy link
Contributor

@KaviiSuri KaviiSuri commented Sep 22, 2024

Closes #685

Problem

The new logger missed handling conversion of err values to the messages.

Old Output

image

New Output

image

@KaviiSuri
Copy link
Contributor Author

@AshwinKul28 @lucifercr07 could you please take a look at this? essentially we were logging error values and not from error.Error()

@KaviiSuri KaviiSuri force-pushed the kavii/fix-log-error-message branch from 3303af9 to 07ed972 Compare September 22, 2024 07:06
@KaviiSuri KaviiSuri force-pushed the kavii/fix-log-error-message branch from 07ed972 to 01e6f96 Compare September 22, 2024 07:25
@lucifercr07 lucifercr07 merged commit 406b0f5 into DiceDB:master Sep 22, 2024
2 checks passed
hash-f pushed a commit to hash-f/dice that referenced this pull request Sep 22, 2024
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.

Logger logs error values instead of messages
2 participants