Skip to content

Commit

Permalink
fixed blank line when writing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ritch committed Sep 19, 2012
1 parent f2e4497 commit 04c2a5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ function Server(options) {
});

server.on('request:error', function (err, req, res) {
console.log();
console.error(res.finished, 'finished...');
console.error();
console.error(req.method, req.url, err.stack || err);
process.exit();
});
Expand Down

0 comments on commit 04c2a5a

Please sign in to comment.