i5ting / koa-generator

Koa' application generator for 1.x and 2.x( Express-style and support all middlewares include async/await )
https://github.com/17koa/koa-generator
MIT License
972 stars 110 forks source link

app.js中app.on('error')不应该用logger吧? #21

Closed sinalvee closed 8 years ago

sinalvee commented 8 years ago

这个位置

app.on('error', function(err, ctx){
   logger.error('server error', err, ctx);
});

koa-logger是没有这个的……

i5ting commented 8 years ago

嗯,创建一个pr吧