Crash Reporting usage patterns
masterThe raygun4js library supports several crash reporting patterns to enhance error visibility:
- Basic Crash Reporting: Standard setup to capture unhandled errors.
- Custom Data: Sending additional context/metadata alongside the crash report.
- User Details: Attaching specific user information to a crash report to identify affected users.
- Tags: Sending custom tags to help with filtering and grouping errors in the Raygun dashboard.
- Manual Error Sending: Using the API to manually trigger a crash report for specific errors.
- Error Grouping: Using a custom error grouping key to control how errors are aggregated.
- Environment Filtering: Implementing logic to ignore errors generated on
localhostor*.localdomains to reduce noise.