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

log seed process errors to database table #285

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sizatenquizit
Copy link
Collaborator

Description:
When running the seed process, any errors encountered need to be visible for debugging and troubleshooting.
Verify Spring Batch will capture any exceptions encountered. If it does not, persist any errors for future review.

JIRA

https://cdc-nbs.atlassian.net/browse/CND-166

@sizatenquizit sizatenquizit requested a review from mpeels January 21, 2025 23:00
Comment on lines +53 to +54
.faultTolerant()
.skip(Exception.class) // skip any exception
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Doesn't faultTolerant and skip mean that the exceptions will not cause the step to fail?
Do we want that?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I asked about this point earlier and we agreed on it to proceed, its a business requirement...should I change it or keep it?

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

Successfully merging this pull request may close these issues.

2 participants