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

haskey raises exception for missing key #45

Open
nlw0 opened this issue Apr 14, 2022 · 0 comments
Open

haskey raises exception for missing key #45

nlw0 opened this issue Apr 14, 2022 · 0 comments

Comments

@nlw0
Copy link
Collaborator

nlw0 commented Apr 14, 2022

I just hit a nasty issue. haskey works fine for existing keys, but for missing keys it raises and exception instead of returning false.

response = storage(:Object, :get, store.bucket_name, name; session=store.session, alt="", fields="")

Something it taking the HTTP request response, with 404, and instead of simply returning the erroneous response, it's raising an exception. What could be causing this, something just within this module, or in HTTP.jl?

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

No branches or pull requests

1 participant