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

Move postFlighCheck to be called before commit transaction #2272

Merged
merged 1 commit into from
Apr 27, 2024
Merged

Move postFlighCheck to be called before commit transaction #2272

merged 1 commit into from
Apr 27, 2024

Conversation

ajibarra
Copy link
Member

postFlightCheck method throws an exception if there is any pending action. But calling it after commit transaction does not make sense because even when you get the exception the damage is already done since the actual action was not executed.

Moving it before commit transaction ensures that if you get an exception you will be able to run it again

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