Comments (1)
Update:
We're inside express' try-clause for the entire duration of the request, so we don't technically have to deal with this. Express already returns 500.
However, Express outputs to stderr (if not NODE_ENV=production) which is quite annoying and cannot be intercepted. It might be nice if rested would be an EventEmitter that could emit warning (for 4xx) and error (for 5xx). That would allow users to log the errors themselves.
from express-rested.
Related Issues (20)
- Support getJson (etc) to allow JSON responses to be filtered or altered
- Add an option to return collections as arrays and not just maps
- Add request/response dumps to the readme
- First examples in readme fail
- More verbose errors for the client HOT 2
- Implement caching in full
- Make getMapRef a public API
- Indexing in collections
- Required refactoring
- Add tests and fix issues with slashes in IDs
- Pagination
- Possible requirement for an asynchronous collection.get() HOT 1
- Version mismatch on npm HOT 2
- Re-attach prototype HOT 2
- Index not updated when resource is modified HOT 3
- Search does not include arrays HOT 3
- Allow requests to always hit an asynchronous data store
- API is case sensitive HOT 4
- Documentation not matching api 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 express-rested.