Can't Get Sentry to Work

#1

I have followed the instructions on the Expo docs (https://docs.expo.io/versions/latest/guides/using-sentry.html#content) as well as on the Sentry docs (https://docs.sentry.io/clients/react-native/expo/) and I just cannot get it to work. I have tried using Sentry.captureException as well as SentryLogger and SentrySeverity and am getting nothing in the Sentry dashboard. I find it very confusing as the docs reference something called “Raven” but the Expo package seems to use everything from the Sentry module. Can someone point me in the right direction or give me a hint?

#2

Here is an app that uses Sentry: https://github.com/triciatricia/mrw-app/blob/36e59c0588f1dbb8d53cef4bf87a643a515b1cfb/main.js#L3. It might be helpful to look at the code and configuration files to figure out what’s going on.

#3

Thanks @ide! I’ve taken a look but cannot see what I’m doing wrong. I have the configuration set up exactly the same way. Is there a way to force an exception so that I can test whether or not Sentry is receiving events?

#4

Nevermind! I figured it out. I think I’ve got it from here. Thanks!

closed #5

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.