fix: package.json run test integration in packages (#7249)
This commit is contained in:
committed by
GitHub
parent
e7a3528367
commit
a736e728b8
@@ -9,7 +9,6 @@ import { MedusaError, upperCaseFirst } from "../../common"
|
||||
|
||||
export const dbErrorMapper = (err: Error) => {
|
||||
if (err instanceof NotFoundError) {
|
||||
console.log(err)
|
||||
throw new MedusaError(MedusaError.Types.NOT_FOUND, err.message)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user