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

Replace AlwaysEncryptedAttestationException with SqlException #1515

Merged
merged 4 commits into from
Apr 6, 2022
Merged

Replace AlwaysEncryptedAttestationException with SqlException #1515

merged 4 commits into from
Apr 6, 2022

Conversation

johnnypham
Copy link
Contributor

Addresses #1501

The exception type is not public and is thrown for various error scenarios during enclave attestation. We can replace it with a catchable SqlException in a default state with the original message and inner exception. This is the same behaviour in related drivers.

Copy link
Contributor

@Wraith2 Wraith2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@DavoudEshtehari DavoudEshtehari merged commit 9c752e6 into dotnet:main Apr 6, 2022
@johnnypham johnnypham deleted the AlwaysEncryptedAttestationException- branch April 7, 2022 18:00
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.

5 participants