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

Reorder exception handlers to avoid unreachable code #203

Merged
merged 4 commits into from
Mar 15, 2022

Conversation

tschaub
Copy link
Contributor

@tschaub tschaub commented Mar 15, 2022

Since JSONDecoderError is a subclass of ValueError, its exception handler needs to come first.

@jonhealy1 jonhealy1 merged commit c1b4a72 into stac-utils:main Mar 15, 2022
@tschaub tschaub deleted the exception-order branch March 17, 2022 23:31
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.

2 participants