Skip to content

Commit 52506d9

Browse files
mariayordschwma
andauthored
Update lib/logger.js
Co-authored-by: Marcel Schwarz <[email protected]>
1 parent 72aaddb commit 52506d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/logger.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ router.use(function jsonBodyParser(req, res, next) {
1616
express.json({ ...cds.env.server.body_parser })(req, res, function http_body_parser_next(err) {
1717
// Need to wrap, as CAP server deliberately crashes on SyntaxErrors
1818
if (err) return next(new InvalidJSON(err.message))
19+
next()
1920
})
2021
})
2122

0 commit comments

Comments
 (0)