Skip to content

Add exception handling to C# generator to help identify which definitions are having problems #758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

awschristou
Copy link
Contributor

Problem

When the telemetry definitions contain a general error, it can be hard to tell where the problem is when looking at the C# generator output.

Solution

Add exception handling that indicates which entity was being processed.

Example:

image

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@awschristou awschristou requested a review from a team as a code owner June 18, 2024 21:29
@awschristou awschristou merged commit 80b9da7 into main Jun 18, 2024
@awschristou awschristou deleted the awschristou/csharp-generator-errors branch June 18, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant