Open tal2301 opened 5 years ago
Fix uncatchable error in repository.ts create()
I see no error there. If you enter a duplicate key you will receive an error : E11000 duplicate key error index. If you won't catch the error you will miss the error and it will go upstream.
E11000 duplicate key error index
Fix uncatchable error in repository.ts create()