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.

Error information

Modifying error information may affect error grouping.

Data Default value Preventing collection
Context The name of the task executor object Modify context in a callback
Error class The class name of the exception Modify exception in a callback
Error message The message of the error that occured Modify exception in a callback
Stack trace The stack trace (traceback) of the error that occured, including file names line numbers and surrounding lines of code Modify stacktrace in a callback

Task information

Contextual information is collected from the Celery task.

Data Default value Preventing collection
Task ID The ID of the task Modify meta_data['extra_data'] in a callback
Args Array of positional arguments the task was called with Modify meta_data['extra_data'] in a callback
Kwargs Dictionary of keyword arguments the task was called with Modify meta_data['extra_data'] in a callback

Logging

If the logging integration is used, some contextual information is collected to populate the “extra data” tab.

Data Default value Preventing collection
asctime The formatted time string of when the log occurred Modify meta_data['extra_data'] in a callback
Created The time the log occurred Modify meta_data['extra_data'] in a callback
Level name The text level of the log Modify meta_data['extra_data'] in a callback
Level number The numeric level of the log Modify meta_data['extra_data'] in a callback
msecs The milliseconds portion of the created time Modify meta_data['extra_data'] in a callback
Name The name of the logger Modify meta_data['extra_data'] in a callback
Process The ID of the running process Modify meta_data['extra_data'] in a callback
Process name The name of the running process Modify meta_data['extra_data'] in a callback