minio-dotnet
minio-dotnet copied to clipboard
RemoveObjectAsync does not throw exception when Bucket exists and Object does not exist
RemoveObjectAsync does not throw exception when Bucket exists and Object does not exist
Expected Behavior
RemoveObjectAsync should throw exception like the CopyObjectAsync when Bucket exists and Object does not exist
Current Behavior
RemoveObjectAsync executed without exception
Steps to Reproduce (for bugs)
try
{
var args = new RemoveObjectArgs()
.WithBucket(existingBucketName)
.WithObject(nonexistingObjectName);
await moClient.RemoveObjectAsync(args).ConfigureAwait(false);
}
catch (Exception ex)
{
_logger.LogError(ex);
throw ex;
}
Your Environment
- Version used: minio 7.0.0 nuget package
- Server setup and configuration: RELEASE.2025-09-07T16-13-09Z
- Operating System and version: Windows 11 Enterprise
@rszik Which language is this? So I can move it to the appropriate SDK.
It was the .NET SDK nuget package