Skip to content

Conversation

DominicGBauer
Copy link
Contributor

Description

There is an issue in the Swift SDK where this happens sporadically Uncaught Kotlin exception: kotlin.IllegalStateException: Transaction objects (TransactionWithReturn and TransactionWithoutReturn) must be used only within the transaction lambda scope.. My hunch is that this is as a result of the bucketStorage not using the correct context. This changes the writeTransaction to use the transaction context passed as a callback which should fix the issue.

@DominicGBauer DominicGBauer merged commit 87cf718 into main Dec 18, 2024
3 checks passed
@DominicGBauer DominicGBauer deleted the fix/use-transaction-in-bucket-storage branch December 18, 2024 11:18
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