Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not initialize this module if no Sentry information is passed (like in a local environment) #14

Closed
tolgap opened this issue Mar 12, 2018 · 1 comment

Comments

@tolgap
Copy link

tolgap commented Mar 12, 2018

If you leave any Sentry information out of your .env file, this module still tries to send a HTTP request to sentry.io but (of course) with a wrong URL: POST https://sentry.io/api//store/?sentry_version=7&sentry_client=raven-js%2F3.23.1&sentry_key=null 400 (BAD REQUEST).

It would be nice if this module would check if all required Sentry info was empty, the plugin simply does not initialize. Otherwise I have to resort to polluting my nuxt.config.js with a bunch of process.env checks 😄 .

This question is available on Nuxt.js community (#c11)
@DiederikvandenB
Copy link
Collaborator

Sorry for the late response. Will be fixed in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants