-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Repl 2021-02-08
-
20
BF-19854 seems to have failed because an error thrown by the mongo shell does not contain an error code. We check for the error code, but the error is not caught because the shell does not propagate the code. We have a ticket (SERVER-54026) to fix the root cause of the issue, but we should temporarily check the error message to stop this BF from reoccurring.
This patch should also include a TODO to remove the error message check when SERVER-54026 is completed.
- is related to
-
SERVER-54026 Mongo shell does not retain error code when generating JavaScript exception
- Closed