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

log: cleanup erroneous log messages #4122

Merged
merged 4 commits into from
Nov 8, 2024
Merged

log: cleanup erroneous log messages #4122

merged 4 commits into from
Nov 8, 2024

Conversation

mastercactapus
Copy link
Member

Description:
Fixes some "unexpected errors" that should not be logged.

Add error handling for context cancellation to provide a
specific error message when a request is canceled.
- Expand error recognition for malformed JSON requests.
- Introduce a new test for handling truncated requests.
- Map sql.ErrNoRows to a user-friendly error message
- Ensures improved error reporting for missing database entries
@github-actions github-actions bot added the size/s label Nov 6, 2024
@mastercactapus mastercactapus merged commit f557e93 into master Nov 8, 2024
7 checks passed
@mastercactapus mastercactapus deleted the fix-error-logs branch November 8, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants