Skip to content

Commit

Permalink
fix: store name of collection for more informative error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Feb 13, 2020
1 parent 6d3f313 commit 979d41e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/operations/validate_collection.js
Expand Up @@ -14,8 +14,7 @@ class ValidateCollectionOperation extends CommandOperation {
}

super(admin.s.db, options, null, command);

this.collectionName;
this.collectionName = collectionName;
}

execute(callback) {
Expand Down

0 comments on commit 979d41e

Please sign in to comment.