Skip to content

Vue's Sentry.init() options guide needs updating #13157

@kimulaco

Description

@kimulaco

SDK

JavaScript SDK

Description

I think the following documentation needs to be updated about the Sentry.init() configuration options.
https://docs.sentry.io/platforms/javascript/guides/vue/#vue-specific-configuration

  1. The documentation currently includes a logErrors option. However, this has now been removed.
    https://docs.sentry.io/platforms/javascript/guides/vue/migration/v8-to-v9/#removed-apis
  2. attachErrorHandler is implemented in the options of Sentry.init() in vue, but it is not mentioned in the guide.
    https://github.com/getsentry/sentry-javascript/blob/9.10.1/packages/vue/src/types.ts#L29-L57

Suggested Solution

I think the explanation about logErrors should be removed, and an explanation about attachErrorHandler should be added.

Metadata

Metadata

Assignees

Labels

Projects

Status

Waiting for: Support

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions