Skip to content

Commit 979d41e

Browse files
committed
fix: store name of collection for more informative error messages
1 parent 6d3f313 commit 979d41e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/operations/validate_collection.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ class ValidateCollectionOperation extends CommandOperation {
1414
}
1515

1616
super(admin.s.db, options, null, command);
17-
18-
this.collectionName;
17+
this.collectionName = collectionName;
1918
}
2019

2120
execute(callback) {

0 commit comments

Comments
 (0)