-
Notifications
You must be signed in to change notification settings - Fork 249
Closed
Labels
Description
The logic for BucketExistsAsync is incorrect. All it determines is that the response Exception isn't a BucketNotFoundException. This means if you have another exception such as HttpRequestException, it responds that the bucket exists true even when it might not.
minio-dotnet/Minio/ApiEndpoints/BucketOperations.cs
Lines 83 to 85 in 2e46392
return response is not null && | |
(response.Exception is null || | |
response.Exception.GetType() != typeof(BucketNotFoundException)); |
I was getting a "The SSL connection could not be established, see inner exception." and never knew until I stepped into the lib code.
wuzhenda, will056, uvsxx and fadakkden21