chore: add warning logs on RPC auth fiascos - #6468
Conversation
WalkthroughThe authorization layer now emits warning-level logs when permission checks fail or return errors, capturing the method name and error details. The control flow and returned errors remain unchanged; only tracing side effects are added. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files
... and 10 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Summary of changes
Changes introduced in this pull request:
InvalidRequestwithout any indication what is wrong. This should help pinpoint issues in the future, while also facilitating any SIEM systems or whatnot to detect breach attempts.Reference issue to close (if applicable)
Closes
Other information and links
Change checklist
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.