Automatically captured data

Bugsnag 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.

Application information

Information about the application can be useful to identify if an error occurs in certain versions.

Data Default value Preventing collection
Type The primary app framework Override the app_type property during Bugsnag configuration

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
Hostname The hostname of the server Override the hostname property during Bugsnag configuration

Que job data

Bugsnag automatically captures data about the currently running job, on a job metadata tab.

This tab can be removed in its entirety using the remove_tab method within a middleware or callback.

Data Default value Preventing collection
Priority The job’s priority Filter priority using meta_data_filters
Run at The time the job ran Filter run_at using meta_data_filters
Id The job’s ID Filter id using meta_data_filters
Job class The class of the job Filter job_class using meta_data_filters
Error count The job’s priority Filter priority using meta_data_filters
Last error message The message from the last error received Filter last_error_message using meta_data_filters
Queue The queue the job was running in Filter queue using meta_data_filters
Last error backtrace The backtrace from the last error received Filter last_error_backtrace using meta_data_filters
Finished at The time the job finished Filter finished_at using meta_data_filters
Expired at The time the job expired Filter expired_at using meta_data_filters
Args Arguments provided to the job Filter args using meta_data_filters
Data Data required by the job Filter data using meta_data_filters

Error information

Modifying error information may affect error grouping.

Data Default value Preventing collection
Error class The exception’s class name Override the error data within a report using a callback and the exceptions method
Error message The exception’s message Override the error data within a report using a callback and the exceptions method
Stack trace A stack trace derived from the exception, containing code, filenames, methods and line numbers Override the error data within a report using a callback and the exceptions method