Skip to content

Commit 204fbcf

Browse files
Clarify error message (#4285)
1 parent 762fa53 commit 204fbcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/src/core/bundle_impl.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class BundleLoader {
169169
debugAssert(
170170
this.documents[this.documents.length - 1]?.metadata.exists !== true ||
171171
!!this.documents[this.documents.length - 1].document,
172-
'Bundled documents ends with a document metadata and missing document.'
172+
'Bundled documents end with a document metadata element instead of a document.'
173173
);
174174
debugAssert(!!this.bundleMetadata.id, 'Bundle ID must be set.');
175175

0 commit comments

Comments
 (0)