-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Redact query errors #775
Redact query errors #775
Conversation
Codecov Report
@@ Coverage Diff @@
## master #775 +/- ##
==========================================
+ Coverage 58.61% 58.66% +0.04%
==========================================
Files 49 49
Lines 5835 5837 +2
==========================================
+ Hits 3420 3424 +4
+ Misses 2165 2164 -1
+ Partials 250 249 -1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
The error path was covered by a test already
// Otherwise redact all (we can theoretically redact less in the future) | ||
if err != nil { | ||
// Issue #759 - we don't return error string for worries of non-determinism | ||
// moduleLogger(ctx).Info("Redacting submessage error", "cause", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alpe @webmaster128 Is it possible to have this error being logged?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem. I have opened an issue to track the work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
Follow up from #765
Closes #759