|
Ah that makes sense. I'll definitely look into that, thanks for the suggestion!
|
|
I think you could do what you suggest in the shell code itself, rather than try to detect the shell in the server.
|
|
jesse mentioned that there could be a way to determine if a user is connecting via the shell, and change the error message specifically for the shell to something like Please start the mongo shell with --apiVersion 1. We might be able to try something along those lines. Are there other connections where we should provide more guidance?
|
|
The error message is returned for all driver connections, not just the shell, so it will be hard to compose a message with resolution guidance that covers every situation. The way to provide apiVersion for each driver is different.
|
Generated at Thu Feb 08 05:37:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.