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 more details in exception #2654

Merged
merged 7 commits into from
Oct 4, 2023
Merged

Conversation

Michaelvll
Copy link
Collaborator

This is to make the exception in usage message more informative.

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below)
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: bash tests/backward_comaptibility_tests.sh

@Michaelvll Michaelvll changed the title [Usage] Add more details in exception Add more details in exception Oct 4, 2023
@Michaelvll Michaelvll merged commit 68ec693 into master Oct 4, 2023
18 checks passed
@Michaelvll Michaelvll deleted the add-more-details-in-exception branch October 4, 2023 18:16
jc9123 pushed a commit to jc9123/skypilot that referenced this pull request Oct 11, 2023
* Add traceback for exceptions raised and detailed reasons for CommandError

* format

* Add exception column to make exception easier to see

* remove color for exception

* Fix docstr

* revert cli and fix comment
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.

None yet

2 participants