We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 063b0d1 + 9176be1 commit b3807eaCopy full SHA for b3807ea
src/index.js
@@ -4,7 +4,6 @@ const koa404Handler = async (ctx, next) => {
4
if (ctx.status === 404) ctx.throw(404);
5
} catch (err) {
6
ctx.throw(err);
7
- ctx.app.emit('error', err, ctx);
8
}
9
};
10
0 commit comments