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

EOCI-213: [pt. 4] better error logging #80

Merged
merged 1 commit into from
Oct 3, 2024
Merged

EOCI-213: [pt. 4] better error logging #80

merged 1 commit into from
Oct 3, 2024

Conversation

aecorredor
Copy link
Member

Motivations

This came from what I noticed while debugging the member scheduling issue. We weren't logging the errors correctly when using partial failure batches, and it was super hard to correlate sumo logs when looking for an issue.

Also slipped in a small improvement to reduce the number of times we iterated through the same unprocessed records list. Besides that, I think the code ends up being simpler.

Also used itemIdentifier when logging to make it obvious that that's what we use for partial batch failures.

@jkdowdle jkdowdle merged commit f6f6009 into master Oct 3, 2024
4 checks passed
@jkdowdle jkdowdle deleted the EOCI-213-4 branch October 3, 2024 21:29
Copy link

github-actions bot commented Oct 3, 2024

🎉 This PR is included in version 6.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants