-
Notifications
You must be signed in to change notification settings - Fork 410
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
Use slog
in clientconn
package
#4457
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4457 +/- ##
==========================================
- Coverage 74.45% 73.69% -0.76%
==========================================
Files 328 328
Lines 22810 22818 +8
==========================================
- Hits 16983 16816 -167
- Misses 4612 4779 +167
- Partials 1215 1223 +8
... and 22 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
"Handler error for unhandled response opcode", | ||
zap.Error(err), zap.Stringer("opcode", resHeader.OpCode), | ||
logging.Error(err), | ||
slog.Any("opcode", resHeader.OpCode), |
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.
That should be
slog.String("opcode", resHeader.OpCode.String())
Please fix another place too
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.
Thanks, this and other places addressed in #4471
Description
Readiness checklist
task all
, and it passed.@FerretDB/core
), Milestone (Next
), Labels, Project and project's Sprint fields.