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

feat: add details to raised exceptions #240

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

jooola
Copy link
Member

@jooola jooola commented Jul 11, 2023

Add more details to the exception message, for example, the ActionFailedException didn't print any message:

hcloud.actions.domain.ActionFailedException:

But will now print:

hcloud.actions.domain.ActionFailedException: The pending action failed: Server does not exist anymore

This will also provide more details for the Ansible errors.

@jooola jooola merged commit cf64e54 into hetznercloud:main Jul 11, 2023
6 checks passed
@jooola jooola deleted the exceptions_details branch July 11, 2023 12:23
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.

2 participants