mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
pass err object along so errors dont get treated as 404 @julianlam
This commit is contained in:
@@ -410,7 +410,7 @@ Controllers.handleURIErrors = function(err, req, res, next) {
|
||||
|
||||
return;
|
||||
} else {
|
||||
next();
|
||||
next(err);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user