Skip to content

Commit ed9fedf

Browse files
committed
add 'already-exists' to isRetryableTransactionError
1 parent 3f1354f commit ed9fedf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/firestore/src/core/transaction_runner.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export class TransactionRunner<T> {
120120
return (
121121
code === 'aborted' ||
122122
code === 'failed-precondition' ||
123+
code === 'already-exists' ||
123124
!isPermanentError(code)
124125
);
125126
}

0 commit comments

Comments
 (0)