Allow next middleware handle error in handleParseErrors (#2260)
This commit is contained in:
committed by
Florent Vilmart
parent
868ad5bdfd
commit
3c1da3cc2a
@@ -250,6 +250,7 @@ var handleParseErrors = function(err, req, res, next) {
|
||||
res.json({code: Parse.Error.INTERNAL_SERVER_ERROR,
|
||||
message: 'Internal server error.'});
|
||||
}
|
||||
next(err);
|
||||
};
|
||||
|
||||
function enforceMasterKeyAccess(req, res, next) {
|
||||
|
||||
Reference in New Issue
Block a user