File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
samples/Exceptionless.SampleMvc
src/Exceptionless/Extensions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
<appSettings >
4
4
<add key =" Exceptionless:ApiKey" value =" LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" />
5
5
<add key =" Exceptionless:ServerUrl" value =" http://localhost:5200" />
6
- <add key =" Exceptionless:Tags " value =" Tag1, Tag2" />
6
+ <add key =" Exceptionless:DefaultTags " value =" Tag1, Tag2" />
7
7
<add key =" webpages:Version" value =" 3.0.0.0" />
8
8
<add key =" webpages:Enabled" value =" false" />
9
9
<add key =" ClientValidationEnabled" value =" true" />
Original file line number Diff line number Diff line change @@ -391,9 +391,9 @@ public static void ReadFromAppSettings(this ExceptionlessConfiguration config) {
391
391
if ( ! String . IsNullOrEmpty ( serverUrl ) )
392
392
config . ServerUrl = serverUrl ;
393
393
394
- string tags = ConfigurationManager . AppSettings [ "Exceptionless:Tags " ] ;
395
- if ( ! String . IsNullOrEmpty ( tags ) )
396
- foreach ( var tag in tags . SplitAndTrim ( ',' ) . Where ( tag => ! String . IsNullOrEmpty ( tag ) ) )
394
+ string defaultTags = ConfigurationManager . AppSettings [ "Exceptionless:DefaultTags " ] ;
395
+ if ( ! String . IsNullOrEmpty ( defaultTags ) )
396
+ foreach ( var tag in defaultTags . SplitAndTrim ( ',' ) . Where ( tag => ! String . IsNullOrEmpty ( tag ) ) )
397
397
config . DefaultTags . Add ( tag ) ;
398
398
}
399
399
#endif
You can’t perform that action at this time.
0 commit comments