How to capture non-error events #3655
kwybranowski
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm looking for some clarity on the best practices for capturing non-error events in Sentry. We are currently using Sentry to capture our error events - which show up in the Issues tab of the Sentry dashboard (as expected) and in the list of events in the Discover tab.
But, in the cases where we don't have an error but want to capture breadcrumbs and specific events (ex: Starting an EV charging session, including the logs leading up to this event), we are using the
Sentry.captureMessage
function. According to this documentation,captureMessage
seems like the right tool for this job. However, in practice, our messages end up mixed in with our error events in the Issues and Discover tabs. Is this correct? It feels like non-error messages should be tracked (and further communicated in reports/email alerts) in a way that's differentiated and less critical than how errors are.For context: We are building an Electric Aircraft charging (& beyond!) mobile app.
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions