mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-13 12:37:17 +08:00
fixed blank line when writing errors
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user