From 36dcd311de6746d894138ae6a19bbe3d1c1454c3 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 9 Apr 2016 09:10:37 +0100 Subject: [PATCH] Removed unused var next --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 1a4cb3d..b8318fa 100644 --- a/app.js +++ b/app.js @@ -89,7 +89,7 @@ app.use(function(req, res, next) { /* development error handler (will print stacktrace) */ if (app.get('env') === 'development') { - app.use(function(err, req, res, next) { + app.use(function(err, req, res) { res.status(err.status || 500); res.render('error', { message: err.message,