Improve handling of errors in contrib #628
Labels
integration: contrib
Contrib related issues and PRs
status: accepted
This issue has been accepted by the maintainers team for implementation
type: enhancement
New feature or request
Proposed Functionality
Upon failed object validation in
create
,update
, ordelete
, raise the appropriatediffsync.exceptions.ObjectCrudException
subclass (ObjectNotCreated
,ObjectNotUpdated
,ObjectNotDeleted
). Include as much context as possible so the error can be acted upon.Use Case
Instead of crashing the entire SSoT run, this singles out failures in individual CRUD operations and allows them to be properly logged.
This also enables the data validation engine integration.
The text was updated successfully, but these errors were encountered: