这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@danielgtaylor
Copy link
Owner

This PR waits to redact sensitive headers until just before they get dumped by the panic recovery middleware logger. Also fixes a minor typo I found the other day.

@codecov
Copy link

codecov bot commented Mar 23, 2022

Codecov Report

Merging #34 (0be6c21) into main (e04f23d) will increase coverage by 0.10%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
+ Coverage   86.10%   86.21%   +0.10%     
==========================================
  Files          24       24              
  Lines        1893     1893              
==========================================
+ Hits         1630     1632       +2     
+ Misses        186      185       -1     
+ Partials       77       76       -1     
Impacted Files Coverage Δ
context.go 88.75% <0.00%> (ø)
humatest/humatest.go 100.00% <100.00%> (ø)
middleware/recovery.go 82.35% <100.00%> (+3.92%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e04f23d...0be6c21. Read the comment docs.

Copy link
Collaborator

@lgarrett-isp lgarrett-isp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@danielgtaylor danielgtaylor merged commit 8aa6989 into main Mar 24, 2022
@danielgtaylor danielgtaylor deleted the fix-redacted branch March 24, 2022 17:35
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.

3 participants