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.
Data |
Default value |
Preventing collection |
Release Stage |
The value of the ASPNETCORE_ENVIRONMENT ENV variable |
Modify app in a callback |
After an exception has been logged a breadcrumb is added containing information
about that exception.
Data |
Default value |
Preventing collection |
Name |
exception.GetType().ToString() |
Modify breadcrumbs in a callback |
Type |
error |
Modify breadcrumbs in a callback |
Metadata -> Message |
exception.Message |
Modify breadcrumbs in a callback |
Metadata -> Severity |
the original severity of the exception |
Modify breadcrumbs in a callback |
Data |
Default value |
Preventing collection |
Hostname |
Either the COMPUTERNAME or HOSTNAME ENV variable value |
Modify device in a callback |
Locale |
System.GlobalizationCultureInfo.CurrentCulture.ToString() |
Modify device in a callback |
Timezone |
System.Globalization.TimeZoneInfo.Local.DisplayName |
Modify device in a callback |
OS Name |
System.Runtime.InteropServices.RuntimeInformation.OSDescription or Environment.OSVersion.VersionString depending on netstandard or full framework |
Modify device in a callback |
Time |
DateTime.UtcNow |
Modify device in a callback |
Data |
Default value |
Preventing collection |
Context |
If a request has been captured then this will be the AbsolutePath |
Modify context in a callback |
Error Class |
The class of each exception |
Modify exceptions in a callback |
Error Message |
The message for each exception |
Modify exceptions in a callback |
Stacktrace |
The stacktrace of each exception |
Modify exceptions in a callback |