**What** - Fixes an issue where the default errorHandler middleware was not applied if the user did not have a `middlewares.ts` file. - Updates the type of `MiddlewaresConfig` so `middlewares` is now optional, as people might want to only set a bodyParser config for a matcher and not provide any additional middleware.
6 lines
126 B
Markdown
6 lines
126 B
Markdown
---
|
|
"@medusajs/medusa": patch
|
|
---
|
|
|
|
fix(medusa): Ensure that errorHandler middleware is applied if no middleware config exists
|