Question
What information does Sentry capture when an error occurs within an error boundary?
Asked by: USER7984
83 Viewed
83 Answers
Answer (83)
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.