Skip to content

Commit 229b38a

Browse files
authored
Merge pull request #824 from Draeli/patch-1
Update error-handling.md
2 parents 06fa190 + 2c5c472 commit 229b38a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

en/guide/error-handling.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ app.get('/a_route_behind_paywall',
100100
// continue handling this request
101101
next('route')
102102
}
103+
else{
104+
next();
105+
}
103106
}, function getPaidContent (req, res, next) {
104107
PaidContent.find(function (err, doc) {
105108
if (err) return next(err)

0 commit comments

Comments
 (0)