Toucan API - Correct way to use it?

I have been creating my sentry instance as such:
const sentry = new Toucan({
dsn: env.SENTRY_DSN,
context: ctx,
request,
tracesSampleRate: 1.0,
debug: false,
});
const sentry = new Toucan({
dsn: env.SENTRY_DSN,
context: ctx,
request,
tracesSampleRate: 1.0,
debug: false,
});
Then calling sentry.captureException(message | error); However it appears this method is now (for a while) deprecated. Are there any instructions on the new correct way to use toucan?
1 Reply
Jökull Sólberg
GitHub
Update to Sentry v8 SDKs by timfish · Pull Request #234 · robertcep...
Closes #232 and closes #221 This PR updates the Sentry SDKs to v8.0.0-rc.2 which involves some breaking changes: Converts integrations to the newer functional API and naming convention Removes th...
Want results from more Discord servers?
Add your server