return error if template doesn't exist

This commit is contained in:
psychobunny
2014-03-04 16:08:02 -05:00
parent 66ef8c8284
commit a3a0aabd22

View File

@@ -131,7 +131,7 @@ middleware.buildHeader = function(req, res, next) {
}); });
} }
], function(err) { ], function(err) {
next(); next(err);
}); });
}; };