Open boolYikes opened 2 weeks ago
Using the original 'MongoServerError' gives internal error 500 now. Changing the code to error.code === 11000 worked.
Using the original 'MongoServerError' gives internal error 500 now. Changing the code to error.code === 11000 worked.