Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gcloud] do not raise exception when trying to delete a non existing blob #999

Merged
merged 1 commit into from
Sep 19, 2021
Merged

Conversation

vchrisb
Copy link
Contributor

@vchrisb vchrisb commented Apr 6, 2021

fix for #998

Add exception handling for delete_blob for gcloud backend.
I does not raise a 404 NotFound, if the blob to be deleted not exists. This is consistent how Azure and S3 backends handle this case.

@vchrisb vchrisb changed the title do not raise exception when trying to delete a non existing blob for gcloud [gcloud] do not raise exception when trying to delete a non existing blob Apr 6, 2021
@jschneier jschneier merged commit d974ecf into jschneier:master Sep 19, 2021
jschneier pushed a commit that referenced this pull request Sep 19, 2021
mlazowik pushed a commit to qedsoftware/django-storages that referenced this pull request Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

trying to delete a non existing blob in gcloud raises a NotFound exception
2 participants