Skip to content

Commit 79e2ca7

Browse files
committed
also handle non-existent collections
1 parent 4cf633a commit 79e2ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/data-service/src/data-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ class DataServiceImpl extends WithLogContext implements DataService {
11571157
// When trying to fetch collectionStats for a collection whose db
11581158
// does not exist or the collection itself does not exist, the
11591159
// server throws an error. This happens because we show collections
1160-
// to the user from their privileges.
1160+
// to the user from their privileges.
11611161
message.includes(`Database [${databaseName}] not found`),
11621162
message.includes(
11631163
`Collection [${databaseName}.${collectionName}] not found`

0 commit comments

Comments
 (0)