Skip to content

Add custom exception handling for more dotnetup edge cases#53163

Draft
nagilson wants to merge 2 commits intodotnet:release/dnupfrom
nagilson:nagilson-dnup-error-telemetry-spans
Draft

Add custom exception handling for more dotnetup edge cases#53163
nagilson wants to merge 2 commits intodotnet:release/dnupfrom
nagilson:nagilson-dnup-error-telemetry-spans

Conversation

@nagilson
Copy link
Member

This PR improves the recently added telemetry in several ways:

  1. A feedback comment which was valuable was that we used to catch and rethrow exceptions at command base, but we removed that. It turns out this actually was an important pattern because the error information does not get propagated at the root level and it is very slow in Kusto to filter out the command based errors in queries without this pattern.

  2. I thought of more error categories that could be handled distinctinly:

    A. Corrupt manifests - The manifest could've been corrupted by us but the user also may have tried to manually edit it. Separate those error categories.

    B. --install-dir : the user may try to install into a file instead of a directory. Consider this a user error and not a product error.

  3. The workbook now counts the amount of distinct errors.

This PR improves the recently added telemetry in several ways:

1. A feedback comment which was valuable was that we used to catch and rethrow exceptions at command base, but we removed that. It turns out this actually was an important pattern because the error information does not get propagated at the root level and it is very slow in Kusto to filter out the command based errors in queries without this pattern.

2. I thought of more error categories that could be handled distinctinly:

A. Corrupt manifests - The manifest could've been corrupted by us but the user also may have tried to manually edit it. Separate those error categories.

B. --install-dir : the user may try to install into a file instead of a directory. Consider this a user error and not a product error.

3. The workbook now counts the amount of distinct errors.
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