I built the business logic in such a way that the error can be in one case - when inserting / updating an instance into the database.
Need to print the name