Closed kwoktung closed 6 years ago
https://github.com/koajs/onerror/blob/master/index.js#L50
if emit error to app.error event listenter, error will both handled by ctx.onerror and app.on('error');
Is that redundant??
can u give an example to help we understand what's the situation actually here?
https://github.com/koajs/onerror/blob/master/index.js#L50
if emit error to app.error event listenter, error will both handled by ctx.onerror and app.on('error');
Is that redundant??