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 af75983 commit 1ea56e2Copy full SHA for 1ea56e2
src/platforms/node/guides/koa/index.mdx
@@ -31,8 +31,8 @@ const app = new Koa();
31
Sentry.init({ dsn: "___PUBLIC_DSN___" });
32
33
app.on("error", (err, ctx) => {
34
- Sentry.withScope(function(scope) {
35
- scope.addEventProcessor(function(event) {
+ Sentry.withScope((scope) => {
+ scope.addEventProcessor((event) => {
36
return Sentry.Handlers.parseRequest(event, ctx.request);
37
});
38
Sentry.captureException(err);
0 commit comments