Techiio-author
Started by Bruce MccullamOct 6, 2021

Open
Send warning messages to Sentry (react-native-sentry)

1 VIEWES 1 LIKES 0 DISLIKES SHARE
1 LIKES 0 DISLIKES 1 VIEWES SHARE

I have include Sentry to track crashes of my mobile application. It is working properly, now I want to send warning messages to sentry to track them. Is there a way to do this from JavaScript side.

1 Replies

Techiio-commentatorDavid Harrison replied 5 months ago0 likes0 dislikes
// set a custom message
Sentry.captureMessage("TEST message", {
  level: SentrySeverity.Warning
}); // Default SentrySeverity.Error

There are a lot of available methods highlighted in the React Native config docs if you want to see the highlights visit here:

https://docs.sentry.io/clients/react-native/config/

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance