-
Notifications
You must be signed in to change notification settings - Fork 8
chore: improve error handling and logging for webhook events #336
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
Conversation
CarlJi
commented
Aug 27, 2025
- Replace generic error messages with structured error types in parser
- Add proper error classification for unsupported events and validation errors
- Reduce log noise by changing info logs to debug for routine events
- Skip error logging for expected unsupported event types in webhook handler
e10ad5b
to
09b0df7
Compare
/review |
- Replace generic error messages with structured error types in parser - Add proper error classification for unsupported events and validation errors - Reduce log noise by changing info logs to debug for routine events - Skip error logging for expected unsupported event types in webhook handler
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #336 +/- ##
=======================================
Coverage ? 12.83%
=======================================
Files ? 53
Lines ? 11081
Branches ? 0
=======================================
Hits ? 1422
Misses ? 9511
Partials ? 148
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
/review |
🤖 代码审查结果 Code Review for PR #336: Structured Error Handling Improvements✅ Overall AssessmentThis PR makes excellent improvements to error handling by introducing structured error types and reducing log noise. The changes are well-architected and follow Go best practices. 🔍 Detailed Analysis1. New Error Types (
|