Skip to content

Node.js based forum software built for the modern web

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

barisusakli0fb74a263682
diff --git a/src/controllers/index.js b/src/controllers/index.js
index 47047924a4..975dca54ae 100644
--- a/src/controllers/index.js
+++ b/src/controllers/index.js
@@ -410,7 +410,7 @@ Controllers.handleURIErrors = function(err, req, res, next) {
return;
} else {
- next();
+ next(err);
}
};