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

OK-784 Throw an exception when payment status updater returns zero payment states #1673

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

vaeinoe
Copy link
Contributor

@vaeinoe vaeinoe commented Jan 3, 2025

Whenever the update job actually calls the update function for a person & term, there should be at least one returned new or existing payment. If some of the caches are still refreshing, the update function finds 0, which is an error we should retry on according to normal job retry schedule, so throw an exception.

Copy link
Contributor

@jkorri jkorri left a comment

Choose a reason for hiding this comment

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

LGTM

@vaeinoe vaeinoe force-pushed the OK-784-first-applications-payment-update branch from 23cedca to 12e543d Compare January 8, 2025 07:35
Copy link

sonarqubecloud bot commented Jan 8, 2025

@vaeinoe vaeinoe merged commit 4e067a8 into master Jan 15, 2025
9 checks passed
@vaeinoe vaeinoe deleted the OK-784-first-applications-payment-update branch January 15, 2025 12:51
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