Permalink
Browse files

use at

  • Loading branch information...
1 parent 40019f6 commit 505c4bb83a45a39f89604799bbcfa983c6a3df4e @aheckmann aheckmann committed Jan 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
2 index.js
@@ -9,7 +9,7 @@ module.exports = function responseTimeout(options){
, at = req.method + ' ' + req.url
, timer = setTimeout(function(){
if (options.throwError){
- next(new Error('Timeout'));
+ next(new Error('Timeout ' + at));
} else {
res.writeHead(options.code);
res.end();

0 comments on commit 505c4bb

Please sign in to comment.