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

[PROD] sync appealdocs - better error handling #2041

Closed
szabozoltan69 opened this issue Feb 15, 2024 · 0 comments
Closed

[PROD] sync appealdocs - better error handling #2041

szabozoltan69 opened this issue Feb 15, 2024 · 0 comments
Assignees
Labels

Comments

@szabozoltan69
Copy link
Contributor

Issue

If the appealdocument synchronizing job encounters a document which has not the type in our appealdocumenttype list, it causes an unhandled error. Fortunately the running is not broken, but it should be handled in a more elegant way.

So: instad of this:
DETAIL: Key (type_id)=(1302893) is not present in table "api_appealdocumenttype"
we should give a more silent warning and not polluting the output with 30-rows error messages.
(Only 1302892 and 1302893 was erroneous though.)

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

No branches or pull requests

2 participants