Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Document Exception masked by objectify error handling #148

Open
j2devcore opened this issue Sep 10, 2021 · 0 comments · May be fixed by #150
Open

Create Document Exception masked by objectify error handling #148

j2devcore opened this issue Sep 10, 2021 · 0 comments · May be fixed by #150

Comments

@j2devcore
Copy link

j2devcore commented Sep 10, 2021

Every once in a while we get a Create Document Exception when we receive data that raises validation errors in pyxb when our code executes APIOperationBase.execute method. The way in which the error is handled, makes hard for our logging systems to catch and repair the input from the user.

A much better way to deal with this is to separate the objectify error handling from the CreateFromDocument process. That way if there're validation errors we can easly inspect them.

Related to #109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant