Koa

Our Koa integration only requires @sentry/node to be installed then you can use it like this:

const koa = require('koa');
const app = koa();
const Sentry = require('@sentry/node');

Sentry.init({ dsn: '___PUBLIC_DSN___' });

app.on('error', err => {
  Sentry.captureException(err);
});

app.listen(3000);
In this guide