添加渠道错误信息覆盖功能 - #5082
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (43)
WalkthroughThis pull request introduces configurable per-channel error message mapping, enabling operators to override upstream error messages and status codes based on the original status code returned. The feature spans backend service logic, relay handler integration, middleware wiring, and frontend configuration UI with localized labels across eight language locales. A Docker Compose configuration change enables local development. ChangesError Override Mechanism
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested reviewers
Poem
✨ 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 |
|
暂不考虑 |
Important
📝 变更描述 / Description
在渠道设置中加入了报错信息复写功能,能够覆盖上游返回的报错信息。
在日志中分别显示报错信息和错误码替换前后的内容。
🚀 变更类型 / Type of change
🔗 关联任务 / Related Issue
✅ 提交前检查项 / Checklist
Bug fix,我已提交或关联对应 Issue,且不会将设计取舍、预期不一致或理解偏差直接归类为 bug。📸 运行证明 / Proof of Work
Summary by CodeRabbit
New Features
Documentation