What information does Sentry capture when an error occurs within an error boundary?

Responsive Ad Header

Question

Grade: Education Subject: Support
What information does Sentry capture when an error occurs within an error boundary?
Asked by:
83 Viewed 83 Answers

Answer (83)

Best Answer
(412)
When an error occurs within a Sentry error boundary, Sentry captures several key pieces of information. This includes the error stack trace, the error message, user context (like user ID and authentication status), request details (URL, headers, etc.), and potentially user-specific data you've configured to send with the error report. This comprehensive data allows for effective error analysis and debugging.