diff --git a/packages/firestore/src/core/bundle_impl.ts b/packages/firestore/src/core/bundle_impl.ts index afb30758080..771c82d4d12 100644 --- a/packages/firestore/src/core/bundle_impl.ts +++ b/packages/firestore/src/core/bundle_impl.ts @@ -169,7 +169,7 @@ export class BundleLoader { debugAssert( this.documents[this.documents.length - 1]?.metadata.exists !== true || !!this.documents[this.documents.length - 1].document, - 'Bundled documents ends with a document metadata and missing document.' + 'Bundled documents end with a document metadata element instead of a document.' ); debugAssert(!!this.bundleMetadata.id, 'Bundle ID must be set.');