umbraco / Umbraco.StorageProviders

MIT License
29 stars 21 forks source link

Align returned values with PhysicalFileSystem when blob does not exist #66

Closed ronaldbarendse closed 1 month ago

ronaldbarendse commented 8 months ago

This fixes https://github.com/umbraco/Umbraco.StorageProviders/issues/40 by catching the RequestFailedException, checking whether it was thrown because the blob doesn't exist and returning similar values as the default CMS PhysicalFileSystem does: