Skip to content
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

Handling AmoException when populating references #116

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

otykier
Copy link
Collaborator

@otykier otykier commented Mar 5, 2024

If the DmvExtractor is invoked using a TomConnection, rather than an AdomdConnection, any exceptions raised will be AmoExceptions, rather than AdomdErrorResponseExceptions, so they should be handled the same way. Specifically, the PopulateReferences method is known to fail in some cases, but when the AmoException isn't catched here, the whole DmvExtraction fails, rather than just the references stats.

…s raised will be AmoExceptions, rather than AdomdErrorResponseExceptions.
@otykier otykier requested a review from albertospelta as a code owner March 5, 2024 12:26
@albertospelta albertospelta merged commit 66ff3b7 into master Mar 5, 2024
1 check passed
@albertospelta albertospelta deleted the amoexception-handling branch March 5, 2024 12:33
@albertospelta
Copy link
Collaborator

@otykier Fix released in version 1.4.1

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.

2 participants