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(gateway): deescalating log in gateway's writeErr #2142

Merged
merged 1 commit into from
May 2, 2023

Conversation

distractedm1nd
Copy link
Member

Closes #2141

writeError is called by almost all gateway endpoints. If a client makes a request for bad data, that is not an error for the server - but still useful as a debug log.

@distractedm1nd distractedm1nd added kind:fix Attached to bug-fixing PRs area:api Related to celestia-node API labels Apr 28, 2023
@distractedm1nd distractedm1nd self-assigned this Apr 28, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #2142 (3c8376d) into main (11fea99) will decrease coverage by 0.20%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2142      +/-   ##
==========================================
- Coverage   55.63%   55.44%   -0.20%     
==========================================
  Files         212      212              
  Lines       13571    13571              
==========================================
- Hits         7550     7524      -26     
- Misses       5258     5283      +25     
- Partials      763      764       +1     
Impacted Files Coverage Δ
api/gateway/util.go 0.00% <0.00%> (ø)

... and 3 files with indirect coverage changes

@renaynay renaynay merged commit 0af563b into celestiaorg:main May 2, 2023
13 of 15 checks passed
@renaynay renaynay deleted the gateway-logs branch May 2, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:api Related to celestia-node API kind:fix Attached to bug-fixing PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: "give header sync some time and retry later" Changing the ERROR level (elevated to DBG)
4 participants