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

Add an explicit exception/warning when the uploader produces empty output #358

Open
newgene opened this issue Nov 4, 2024 · 0 comments
Open
Assignees

Comments

@newgene
Copy link
Member

newgene commented Nov 4, 2024

As described in #357, when the uploader parser failed to process the data file(s), there could be a case that the parser does not raise any parsing error but does not produce any valid output (e.g. could be the invalid data files during the dump stage). In this case, a profound error of No temp collection (or it's empty) will be raised.

I think we should capture this error early, maybe in post_upload, and produce an explicit error message. This is particularly useful when a user is testing a data plugin using our CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants