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.
1 parent 063b0d1 commit 9176be1Copy full SHA for 9176be1
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