Repository navigation
fix: missing error mapping on conflict - #4426
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR improves error handling in the LLM cost pricing adapter by converting database constraint errors to a normalized conflict error when creating price overrides. The change adds one import and wraps the error handling logic in ChangesConstraint Error Handling in Price Override
🎯 2 (Simple) | ⏱️ ~7 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Overview
Ensure that db constraint errors are wrapped as conflict errors in llmcost service.
Summary by CodeRabbit