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

Sentry.init() throws an error on init #757

Closed
georgiik-welldone opened this issue Feb 9, 2020 · 4 comments · Fixed by #749
Closed

Sentry.init() throws an error on init #757

georgiik-welldone opened this issue Feb 9, 2020 · 4 comments · Fixed by #749

Comments

@georgiik-welldone
Copy link

georgiik-welldone commented Feb 9, 2020

I'm getting an error on Sentry.init() call.
Screenshot 2020-02-09 at 17 19 10

OS: MacOS
react-native version: 0.61.5
@sentry/react-native version: 1.2.2 (1.2.1, 1.2.0, 1.1.0)

@HazAT
Copy link
Member

HazAT commented Feb 9, 2020

How does your init call look like?

@georgiik-welldone
Copy link
Author

georgiik-welldone commented Feb 9, 2020

@HazAT generated in docs https://docs.sentry.io/platforms/react-native/. Works perfectly on iOS tho

Sentry.init({
    dsn: `https://${HASH}@sentry.io/${PROJECT_ID}`,
});

@HazAT
Copy link
Member

HazAT commented Feb 10, 2020

To be honest, I have no idea what's causing this (looking at your config) but this PR will probably fix it.
We will ship it this week.

#749

@georgiik-welldone
Copy link
Author

Thanks, will check it out by the end of this week

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

Successfully merging a pull request may close this issue.

2 participants