diff --git a/docs/integrations/koa.rst b/docs/integrations/koa.rst index 77c41704ed43..ef630b62bc70 100644 --- a/docs/integrations/koa.rst +++ b/docs/integrations/koa.rst @@ -10,7 +10,7 @@ Koa Raven.config('___DSN___').install(); app.on('error', function (err) { - sentry.captureException(err, function (err, eventId) { + Raven.captureException(err, function (err, eventId) { console.log('Reported error ' + eventId); }); });