Automatically captured data

The BugSnag SDK automatically captures a variety of data to help you debug your errors. You may wish to avoid capturing some types of data, particularly if there are privacy implications for your users.

Device information

Information about the device can be useful to identify if an error is only occurring on some devices.

Data Default value Preventing collection
OS name The name of the operating system Modify device in a callback
Runtime versions The React Native version number Modify device in a callback

Breadcrumbs are automatically recorded for common actions and can be helpful to reproduce errors.

Data Default value Preventing collection
Console message The message sent to the console and its severity Set enabledBreadcrumbTypes or modify/discard the breadcrumb in an onBreadcrumb callback
Network requests The URL requested and the status code returned Set enabledBreadcrumbTypes or modify/discard the breadcrumb in an onBreadcrumb callback

Error information

Modifying error information may affect error grouping.

Data Default value Preventing collection
Context The pathname of the URL Modify context in a callback
Error class The class of the error that occurred Modify errors[].errorClass in a callback
Error message The message of the error that occurred Modify errors[].errorMessage in a callback
Stack trace The URL of the file where the error occurred, method and line number Modify errors[].stacktrace in a callback