{"comment":{"created_at":"2011-10-09T09:47:29Z","body":"The problem is the errorHandler middleware. Without it, it works.","updated_at":"2011-10-09T09:47:29Z","url":"https://api.github.com/repos/senchalabs/connect/issues/comments/2335933","id":2335933,"user":{"avatar_url":"https://secure.gravatar.com/avatar/1bc7af82c19c150e3f4e27a45587d56c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/akidee","id":203661,"login":"akidee"}},"action":"created","issue":{"number":390,"created_at":"2011-10-09T08:56:18Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Code (CoffeeScript):\r\n\r\n```\r\nlogger = connect.logger()\r\nbodyParser = connect.bodyParser()\r\nerrorHandler = connect.errorHandler({ dumpExceptions: on })\r\n#gzip = connect.gzip()\r\n#cache = connect.cache()\r\n\r\nserver = @server = connect.createServer()\r\n\r\n\r\n\r\n\r\nserver.use(\r\n\t'/'\r\n\terrorHandler\r\n\t#gzip\r\n\tbodyParser\r\n\t(req, res) =>\r\n\r\n\t\tres.writeHead(200, { 'Content-Type': 'text/html; charset=utf-8' })\r\n\t\tres.end('OK')\r\n)\r\n\r\n@server.listen(3000)\r\n```\r\n\r\nResult (http://127.0.0.1:3000/):\r\nCannot GET /","comments":1,"title":"Does not route","updated_at":"2011-10-09T09:47:29Z","url":"https://api.github.com/repos/senchalabs/connect/issues/390","id":1855408,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/1bc7af82c19c150e3f4e27a45587d56c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/akidee","id":203661,"login":"akidee"},"html_url":"https://github.com/senchalabs/connect/issues/390","labels":[],"state":"open"},"legacy":{"issue_id":1855408,"comment_id":2335933}}