/ mongo Public
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
SERVER-23168 fix shell crashes on ctrl+c
Previously, unauthenticated shell connections would crash the shell on ctrl+c, and any connections to mongos would crash the shell on ctrl+c. Check for currentOp failures and add checks for mongos-specific currentOp results to fix this. Closes #1104. Signed-off-by: Max Hirschhorn <email@example.com> - Log a warning if the "client" field in the currentOp response isn't a string instead of throwing an exception.
- Loading branch information
Showing 1 changed file with 35 additions and 2 deletions.