fix(network): record decoded bytes for debug dump - #7478
Conversation
Move the `reqBuilder.Write(dataInBytes)` call after the hex decode so the logged bytes match what is actually written to the connection.
WalkthroughIn ChangesFix hex-type debug request output
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Reviewed this PR. Assessment: Implementation looks solid and follows project conventions. Clean code quality. Approved ✅ |
Fixes #7477.
Proposed changes
Move the
reqBuilder.Write(dataInBytes)call after the hex decode so the logged bytes match what is actually written to the connection.Proof
Using the "Steps to reproduce" from #7477:
Before:
With this fix in place:
Checklist
Summary by CodeRabbit