Skip to content
Browse files

Return 500 HTTP code

  • Loading branch information...
1 parent e3c25ba commit dc228ed464db01b6bd100741f94b98bfd0d6b30d @wdavidw wdavidw committed with Sep 11, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 server.js
View
4 server.js
@@ -37,7 +37,9 @@ server.error(function(err, req, res, next){
,author: ''
,analyticssiteid: 'XXXXXXX'
,error: err
- } });
+ } },function(err,str){
+ res.send(str,{},500);
+ });
}
});
server.listen( port);

0 comments on commit dc228ed

Please sign in to comment.
Something went wrong with that request. Please try again.