Wrap DB errors or improve validation logic
Registered by
Nikolay Markov
Currently, any API calls including fields which break some DB constraints will return 500 error because of lack of validation and absense of SQLAlchemy error handling. We need to improve this logic.
Blueprint information
- Status:
- Complete
- Approver:
- Evgeniy L
- Priority:
- Medium
- Drafter:
- Nikolay Markov
- Direction:
- Approved
- Assignee:
- Ihor Kalnytskyi
- Definition:
- Approved
- Series goal:
- Accepted for 5.0.x
- Implementation:
-
Implemented
- Milestone target:
-
5.0
- Started by
- Ihor Kalnytskyi
- Completed by
- Dmitry Pyzhov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Raise 400 error when DB constraints were broken
(?)
Work Items
Dependency tree

* Blueprints in grey have been implemented.