fix: package.json run test integration in packages (#7249)

This commit is contained in:
Adrien de Peretti
2024-05-06 19:25:37 +02:00
committed by GitHub
parent e7a3528367
commit a736e728b8
6 changed files with 42 additions and 16 deletions

View File

@@ -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)
}