Skip to content

Improve Config Parsing Exceptions #1194

@TimothyMothra

Description

@TimothyMothra

Can we please change TelemetryConfigurationFactory to include the property name when it fails to parse a value from the configuration file.

Actual Exception:
System.FormatException: 'Input string was not in a correct format.'

Expected Exception:
Exception: Failed to parse 'MaxTransmissionBufferCapacity' Reason: 'Input string was not in a correct format'
Inner Exception: System.FormatException: 'Input string was not in a correct format.'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions