{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/express/issues/2483","labels_url":"https://api.github.com/repos/strongloop/express/issues/2483/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/express/issues/2483/comments","events_url":"https://api.github.com/repos/strongloop/express/issues/2483/events","html_url":"https://github.com/strongloop/express/issues/2483","id":53228236,"number":2483,"title":"Route param error handle","user":{"login":"cosmosgenius","id":1056039,"avatar_url":"https://avatars.githubusercontent.com/u/1056039?v=3","gravatar_id":"","url":"https://api.github.com/users/cosmosgenius","html_url":"https://github.com/cosmosgenius","followers_url":"https://api.github.com/users/cosmosgenius/followers","following_url":"https://api.github.com/users/cosmosgenius/following{/other_user}","gists_url":"https://api.github.com/users/cosmosgenius/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmosgenius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmosgenius/subscriptions","organizations_url":"https://api.github.com/users/cosmosgenius/orgs","repos_url":"https://api.github.com/users/cosmosgenius/repos","events_url":"https://api.github.com/users/cosmosgenius/events{/privacy}","received_events_url":"https://api.github.com/users/cosmosgenius/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/express/labels/5.x","name":"5.x","color":"ededed"},{"url":"https://api.github.com/repos/strongloop/express/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"dougwilson","id":67512,"avatar_url":"https://avatars.githubusercontent.com/u/67512?v=3","gravatar_id":"","url":"https://api.github.com/users/dougwilson","html_url":"https://github.com/dougwilson","followers_url":"https://api.github.com/users/dougwilson/followers","following_url":"https://api.github.com/users/dougwilson/following{/other_user}","gists_url":"https://api.github.com/users/dougwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/dougwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougwilson/subscriptions","organizations_url":"https://api.github.com/users/dougwilson/orgs","repos_url":"https://api.github.com/users/dougwilson/repos","events_url":"https://api.github.com/users/dougwilson/events{/privacy}","received_events_url":"https://api.github.com/users/dougwilson/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-01-01T20:42:09Z","updated_at":"2015-01-14T00:52:23Z","closed_at":null,"body":"```\r\nvar webapps = express.Router();\r\nmodule.exports = webapps;\r\n\r\nfunction handleError(err, req, res, next) {\r\n    //this function is not executed\r\n    res.send(\"hello\");\r\n    next();\r\n}\r\n\r\nwebapps.param(\"app\", function(req, res, next, name) {\r\n    next(\"asfaf\");\r\n});\r\n\r\nwebapps.route(\"/:app\")\r\n    .all(handleError);\r\n```\r\n\r\nI am expected handleError to be executed and send a response of \"hello\", but instead \"asfaf\" is being send with status 500."},"comment":{"url":"https://api.github.com/repos/strongloop/express/issues/comments/69851253","html_url":"https://github.com/strongloop/express/issues/2483#issuecomment-69851253","issue_url":"https://api.github.com/repos/strongloop/express/issues/2483","id":69851253,"user":{"login":"scottcorgan","id":974723,"avatar_url":"https://avatars.githubusercontent.com/u/974723?v=3","gravatar_id":"","url":"https://api.github.com/users/scottcorgan","html_url":"https://github.com/scottcorgan","followers_url":"https://api.github.com/users/scottcorgan/followers","following_url":"https://api.github.com/users/scottcorgan/following{/other_user}","gists_url":"https://api.github.com/users/scottcorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/scottcorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottcorgan/subscriptions","organizations_url":"https://api.github.com/users/scottcorgan/orgs","repos_url":"https://api.github.com/users/scottcorgan/repos","events_url":"https://api.github.com/users/scottcorgan/events{/privacy}","received_events_url":"https://api.github.com/users/scottcorgan/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T00:52:23Z","updated_at":"2015-01-14T00:52:23Z","body":"So does this remove the error middleware with 4 params?"}}