feat: Normalize known DB errors to a MedusaError when possible (#6922)
Before we would swallow the error and return a generic error to the user. This will provide more information to the caller if it is one of the known errors.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/utils": minor
|
||||
---
|
||||
|
||||
Return normalized DB errors from the mikro ORM repository
|
||||
Reference in New Issue
Block a user