Skip to content
Discussion options

You must be logged in to vote

Hey @tetsushi-ito, you would have to create a custom client and instrument your script manually.

Here is your solution with our newest version v7 (currently in beta):

import { BrowserClient, defaultStackParser, makeFetchTransport } from '@sentry/browser'; const client = new BrowserClient({ dsn: "__YOUR_DSN__", transport: makeFetchTransport, stackParser: defaultStackParser, });

It is important not to use any default integrations.

And afterwards, feel free to use any of our client API methods.

try { aFunctionThatMightFail(); } catch (err) { client.captureException(err); }

Docs here

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tetsushi-ito
Comment options

Answer selected by vladanpaunovic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants