Comments (2)
This is actually worse than I first thought. You must actually put:
app.use(useErrorHandlerMiddleware({
errorHandlerConfig: {}
}));
I managed to put app.use(useErrorHandlerMiddleware);
which causes the middleware not to work and sensitive error messages are exposed in responses!
from kangojs.
Should be all sorted as of error-handler v0.2.4
from kangojs.
Related Issues (20)
- Express should be a peer dependency of kangojs HOT 1
- Add req.params validation to class-validation HOT 1
- Implement direct data return from controller classes
- Module could not be found when using jest HOT 1
- Implement a dependency injection system
- Remove file globbing in favour of explicit controller imports
- Consider moving common-middleware into the core framework
- Consider moving error-handler into the core framework
- Refine error-handler and logger
- Controller loading doesn't work in compiled apps HOT 4
- Add tests to core for nested dependency injection
- Add service class interface with helper methods
- Seperate out the key interfaces/data into a seperate @kangojs/common package
- Add middleware option to controller & route decorators
- useCommonMiddleware setup function shouldn't be async HOT 1
- Look for Lerna alternative HOT 1
- Decide what DTO design pattern class-validation is optimizing for
- Add a declarative way to define controllers HOT 2
- Add Error Handler Package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kangojs.