mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 02:25:55 +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;
|
return;
|
||||||
} else {
|
} else {
|
||||||
next();
|
next(err);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user