Skip to content

fix: protect transaction runner from panic in tx func #394

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

Merged
merged 2 commits into from
Mar 18, 2025

Conversation

olavloite
Copy link
Collaborator

Recover any panic that happens in the func that is passed in to the transaction runner.

Fixes #386

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Recover any panic that happens in the func that is passed in to
the transaction runner.

Fixes #386
@olavloite olavloite requested a review from a team as a code owner March 11, 2025 12:49
@olavloite olavloite requested a review from bhatt4982 March 11, 2025 15:17
@olavloite olavloite merged commit 0dc0845 into main Mar 18, 2025
18 checks passed
@olavloite olavloite deleted the protect-transaction-function branch March 18, 2025 14:40
This was referenced Mar 18, 2025
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.

RunTransaction hangs if the provided function panics
2 participants