gaul / s3proxy

Access other storage backends via the S3 API
Apache License 2.0
1.65k stars 220 forks source link

check NoSuchFileException for handler #561

Closed jixinchi closed 8 months ago

jixinchi commented 8 months ago

When using filesystem, I found that OPTIONS a non-exist bucket will cause exceptions and returns 500. I found the reason is that jcloud.blobstore does not check file exists in getContainerAccess, and not throws ContainerNotFoundException.

gaul commented 8 months ago

Should this be fixed in jclouds instead?

jixinchi commented 8 months ago

Should this be fixed in jclouds instead?

Good idea! I'll see how to contribute to jclouds