You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not all, we should also return database errors with handle-mongo-error.ts#transformMongoError instead of getMongoErrorMessage too, for better error typings instead of just the message. Most of our code is still returning with
returnnewDatabaseError('some message')
instead of
returntransformMongoError(error)
which can give more specific errors.
Probably not a priority though, as we usually do not discriminate between the various database errors.
Extension of #602
The text was updated successfully, but these errors were encountered: