Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Mar 25, 2019
1 parent e6a8bd8 commit 45822ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -70,7 +70,7 @@ app.get('/v1/pets/:id', function(req, res, next) {
res.json({ id: req.params.id, name: 'sparky' });
});

// Register error handler!
// Register error handler
app.use((err, req, res, next) => {
// format error
res.status(err.status).json({
Expand Down

0 comments on commit 45822ec

Please sign in to comment.