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

Handle validation errors when fetching zarr checksums #1007

Merged
merged 2 commits into from
Apr 6, 2022

Conversation

dchiquito
Copy link
Contributor

@dchiquito dchiquito commented Apr 6, 2022

Currently, if the .checksum file is malformed, any API request that
requires the checksum (like GET /zarr/ or GET /zarr/{zarr_id}/)
throws an error 500 because of the validation error. That should be
handled gracefully and None returned instead.

Should fix #1004

Currently, if the `.checksum` file is malformed, any API request that
requires the checksum (like `GET /zarr/` or `GET /zarr/{zarr_id}/`)
throws an error 500 because of the validation error. That should be
handled gracefully and `None` returned instead.
@dchiquito dchiquito requested a review from jjnesbitt April 6, 2022 18:47
@dchiquito dchiquito added patch Increment the patch version when merged release Create a release when this pr is merged labels Apr 6, 2022
@jjnesbitt jjnesbitt merged commit 1043799 into master Apr 6, 2022
@jjnesbitt jjnesbitt deleted the zarr-checksum-errors branch April 6, 2022 19:26
@dandibot
Copy link
Member

dandibot commented Apr 6, 2022

🚀 PR was released in v0.2.4 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api/zarr/ -- staging 500s out
3 participants