'how to expand mongodb shell validation errors?
Situation
I am using MongoDB 5.0 community server locally. I am creating with the shell at the moment.
Problem
When I set up validation, and test that validation, I get an error. But the error is collapsed in an [object].
I have searched everywhere online but I cannot figure out how to get "verbose" error logging?
Image of error
This is what I see:
My goal is to see the error details inside the shell.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

