Skip to content

Prevent undefined this.$sentry while offline test #47

@c4ss

Description

@c4ss

What problem does this feature solve?

Currently this module will completely avoid creating this.$sentry when there is no DSN specified or the disabled option is flagged - this causes any this.$sentry.xxx functions to error and completely prevents offline debugging without sentry reporting.

For local testing no error reporting is necessary as the console log is accessible to us and will end up clogging issues being reporting from real users

What does the proposed changes look like?

serverless-sentry-lib achieves this by deleting the DSN and installing nonetheless (although this uses the deprecated Raven package).

This feature request is available on Nuxt community (#c40)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions