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

Improve output when there is an error #25

Open
patrikspiess opened this issue Mar 6, 2023 · 1 comment
Open

Improve output when there is an error #25

patrikspiess opened this issue Mar 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@patrikspiess
Copy link
Member

When there is an error fotoobo will just print a line and exit. We should use the facility of rich here, and print a panel with the error message.

@patrikspiess patrikspiess added the enhancement New feature or request label Mar 6, 2023
@lucmurer
Copy link
Collaborator

lucmurer commented Mar 8, 2023

Example for such errors:

  • run a command without any inventory ("ERROR: No xyz found in inventory" should be a link to documentation how to create an inventory)

General idea how to proceed with such issues:

  • Create an explanation, potential example and potential link to the related documentation (readthedocs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants