@@ -93,7 +93,7 @@ public class BacktraceReport
93
93
94
94
internal readonly bool _reflectionMethodName ;
95
95
96
- private const string ERROR_TYPE_VALUE = "error.type" ;
96
+ private const string ERROR_TYPE_ATTRIBUTE = "error.type" ;
97
97
98
98
/// <summary>
99
99
/// Create new instance of Backtrace report to sending a report with custom client message
@@ -110,7 +110,7 @@ public BacktraceReport(
110
110
: this ( null as Exception , attributes , attachmentPaths , reflectionMethodName )
111
111
{
112
112
Message = message ;
113
- if ( ! Attributes . ContainsKey ( ERROR_TYPE_VALUE ) )
113
+ if ( ! Attributes . ContainsKey ( ERROR_TYPE_ATTRIBUTE ) )
114
114
{
115
115
SetReportErrorType ( "Message" ) ;
116
116
}
@@ -137,7 +137,7 @@ public BacktraceReport(
137
137
_reflectionMethodName = reflectionMethodName ;
138
138
Message = ExceptionTypeReport ? exception . Message : string . Empty ;
139
139
SetCallingAssemblyInformation ( ) ;
140
- if ( ExceptionTypeReport && ! Attributes . ContainsKey ( ERROR_TYPE_VALUE ) )
140
+ if ( ExceptionTypeReport && ! Attributes . ContainsKey ( ERROR_TYPE_ATTRIBUTE ) )
141
141
{
142
142
SetReportErrorType ( "Exception" ) ;
143
143
}
@@ -206,7 +206,7 @@ internal BacktraceReport CreateInnerReport()
206
206
207
207
internal void SetReportErrorType ( string errorType )
208
208
{
209
- Attributes [ ERROR_TYPE_VALUE ] = errorType ;
209
+ Attributes [ ERROR_TYPE_ATTRIBUTE ] = errorType ;
210
210
}
211
211
}
212
212
}
0 commit comments