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

Removes broken exception handling outside of TearDown async function #547

Merged
merged 2 commits into from
Feb 2, 2022
Merged

Removes broken exception handling outside of TearDown async function #547

merged 2 commits into from
Feb 2, 2022

Conversation

ebozduman
Copy link
Collaborator

The throw exception command in TearDown async function used to list objects does not handle exception and simply ignores it. This is a known limitation of dotnet/c# async functions. So, the exceptions should be handled outside of the async function.

We also needed to ignore the exception raised when the bucket is empty, Minio.EmptyBucketOperation.

Also added the missing subscription.Dispose(); command.

@harshavardhana harshavardhana merged commit bb911d9 into minio:master Feb 2, 2022
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