nest
nest copied to clipboard
fix(core): patch body.errorLogger undefined on express-adapter.ts
PR Type
What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Other... Please describe:
What is the current behavior?
Issue Number: N/A
TypeError: body.errorLogger is not a function at /app/node_modules/@nestjs/platform-express/adapters/express-adapter.js:51:26 at node:internal/util:464:12 at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
What is the new behavior?
correct behaviour using errorHandler from StreamableFile
Does this PR introduce a breaking change?
- [ ] Yes
- [x] No