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 better error reporting #22

Open
4 tasks
nhamilakis opened this issue Apr 3, 2023 · 0 comments
Open
4 tasks

Add better error reporting #22

nhamilakis opened this issue Apr 3, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@nhamilakis
Copy link
Contributor

nhamilakis commented Apr 3, 2023

When using commands that download items the error for badly typing the item name is AttributeError: NoneType has no attribute pull,
which is cause by the dataset object being None.

We should catch this error to better inform the user that the requested item does not exist.

  • datasets:pull
  • checkpoints:pull
  • samples:pull
  • benchmarks:run
@nhamilakis nhamilakis added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 3, 2023
@nhamilakis nhamilakis self-assigned this Apr 3, 2023
@nhamilakis nhamilakis added this to the Release 0.9 milestone Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant