Skip to content

[DevToolbar] Figure out whether and how to instrument the toolbar sdk with the JS Browser SDK #62

@ryan953

Description

@ryan953

The big thing to test for is that errors from within the toolbar get sent to our own sentry project, and errors from the surrounding page get sent to the customers sentry project.

No errors should escape our toolbar stacktraces.

Multiple SDK instances/versions could probably exist on the page; like if the customer has not updated to the latest SDK the toolbar could be using a newer version.

The toolbar should not instrument replay, whether we can or should instrument spans/traces is something to sort out.


Edit:
seems like we can skip calling Sentry.init() and instead call new Sentry.Client and then try/catch manually.

There's the sentry-toolbar project already setup to use: https://sentry.sentry.io/projects/sentry-toolbar

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions