Skip to content

Conversation

timcraft
Copy link

@timcraft timcraft commented May 7, 2025

This fixes a logic error in the Connection#transaction ensure block.

Transaction#rollback returns nil, so with the current logic Transaction#commit will also be called and that will raise ClosedException instead of the exception that was originally raised.

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.

1 participant