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

Fix exception handling in /list endpoint #147

Merged
merged 1 commit into from
Jun 9, 2020
Merged

Fix exception handling in /list endpoint #147

merged 1 commit into from
Jun 9, 2020

Conversation

chivay
Copy link
Collaborator

@chivay chivay commented Jun 9, 2020

When [analysis]/metadata.json object is missing, /list endpoint will
fail due to incorrect handling of exception.

The code tries to use minio.error.NoSuchKey exception, however the
exception object is imported as NoSuchKey and minio refers to Minio
client object.

closes #144

When [analysis]/metadata.json object is missing, /list endpoint will
fail due to incorrect handling of exception.

The code tries to use minio.error.NoSuchKey exception, however the
exception object is imported as NoSuchKey and minio refers to Minio
client object.
@chivay chivay requested review from icedevml and BonusPlay June 9, 2020 11:47
@chivay chivay merged commit 9f0729f into master Jun 9, 2020
@chivay chivay deleted the chv-list-error branch June 9, 2020 14:26
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.

Listing analyses broken when metadata.json is missing
2 participants