datopian / ckanext-blob-storage

CKAN extension to offload blob storage to cloud storage providers (S3, GCS, Azure etc).
http://tech.datopian.com/blob-storage/
MIT License
14 stars 6 forks source link

Don't fail if file not found in fallback handler #56

Closed amercader closed 3 years ago

amercader commented 3 years ago

If the blob storage extension can not find a file remotely, it falls back to the default local storage backend. If for some reason this backend can't find the file either (eg because of a corrupted resource that changed from link to upload) it fails with an IO exception. This changes it to emit a 404 error instead.

pdelboca commented 3 years ago

Looks good @amercader !