fix(firestore): fix empty message reject inside transaction body#9177
fix(firestore): fix empty message reject inside transaction body#9177MarkDuckworth merged 5 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 56ca0e1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
Changeset File Check ✅
|
Discussion
This pull request resolves a bug where a Firestore transaction would hang indefinitely if an error without a message property was thrown within the transaction's body.
The root cause of this issue was an incorrect assumption in the SDK that an error object would always contain a message. This change corrects the logic to ensure that the SDK can gracefully handle errors that lack a message.
Fixes #9147
Testing
Verify in integration test