-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(shell-api): improve error message on reading from secondary via r…
…unCommand MONGOSH-1679 (#1805) * fix: improve error message on reading from secondary via runCommand * test: add tests * Update packages/shell-api/src/mongo-errors.ts Co-authored-by: Anna Henningsen <[email protected]> * Update packages/shell-api/src/database.ts Co-authored-by: Anna Henningsen <[email protected]> * explicit type * adjust all messages --------- Co-authored-by: Anna Henningsen <[email protected]>
- Loading branch information
1 parent
968fe96
commit a846579
Showing
4 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters