pass err object along so errors dont get treated as 404 @julianlam

This commit is contained in:
barisusakli
2016-08-24 12:14:28 +03:00
parent 34276dd638
commit 0fb74a2636

View File

@@ -410,7 +410,7 @@ Controllers.handleURIErrors = function(err, req, res, next) {
return; return;
} else { } else {
next(); next(err);
} }
}; };