Skip to content

Remove noisy printf in NextReader() and beginMessage()#878

Merged
AlexVulaj merged 1 commit intogorilla:mainfrom
bcreane:elide-printf-for-ignorable-errors
Dec 11, 2023
Merged

Remove noisy printf in NextReader() and beginMessage()#878
AlexVulaj merged 1 commit intogorilla:mainfrom
bcreane:elide-printf-for-ignorable-errors

Conversation

@bcreane
Copy link
Copy Markdown

@bcreane bcreane commented Nov 29, 2023

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Go Version Update
  • Dependency Update

Description

A recent check in causes NextReader() and beginMessage() to emit noisy, non-actionable messages that fill up application logs. This PR restores the previous approach of ignoring reader/writer close errors. This should address #852.

Related Tickets & Documents

Added/updated tests?

  • Yes
  • No, and this is why: no tests exist to track spurious log entries, so eliding those entries doesn't require a test update
  • I need help with writing tests

Run verifications and test

  • make verify is passing
  • make test is passing

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[BUG] Debug messages are printed to log

3 participants