feat(medusa): Expose error handler from middlewares (#4609)

* feat: Expose error handler from middlewares

* Create unlucky-fireants-talk.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
zhangpengchen
2023-07-27 10:03:19 +02:00
committed by GitHub
parent 131477faf0
commit f18f1b9bfe
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---
feat(medusa): Expose error handler from middlewares

View File

@@ -6,6 +6,7 @@ import { default as requireCustomerAuthentication } from "./require-customer-aut
export { default as authenticate } from "./authenticate"
export { default as authenticateCustomer } from "./authenticate-customer"
export { default as errorHandler } from "./error-handler"
export { default as wrapHandler } from "./await-middleware"
export { canAccessBatchJob } from "./batch-job/can-access-batch-job"
export { getRequestedBatchJob } from "./batch-job/get-requested-batch-job"