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

fix: fallback to error code when message is unset #328

Conversation

jooola
Copy link
Member

@jooola jooola commented Nov 27, 2023

When the API return a server_error, it may not provide a message. This ensures that we print server_none instead of None when printing the exception.

@jooola jooola merged commit 1c94153 into hetznercloud:main Nov 27, 2023
8 checks passed
@jooola jooola deleted the ensure-api-exception-print-useful-info-on-server-error branch November 27, 2023 13:20
jooola pushed a commit that referenced this pull request Dec 19, 2023
🤖 I have created a release *beep* *boop*
---


##
[1.33.0](v1.32.0...v1.33.0)
(2023-12-19)


### Features

* add metrics endpoint for load balancers and servers
([#331](#331))
([ee3c54f](ee3c54f))


### Bug Fixes

* fallback to error code when message is unset
([#328](#328))
([1c94153](1c94153))


### Dependencies

* update actions/setup-python action to v5
([#335](#335))
([2ac252d](2ac252d))
* update dependency sphinx-rtd-theme to v2
([#330](#330))
([7cc4335](7cc4335))
* update pre-commit hook psf/black-pre-commit-mirror to v23.12.0
([#338](#338))
([38e4748](38e4748))
* update pre-commit hook pycqa/isort to v5.13.0
([#336](#336))
([3244cfe](3244cfe))
* update pre-commit hook pycqa/isort to v5.13.1
([#337](#337))
([020a0ef](020a0ef))
* update pre-commit hook pycqa/isort to v5.13.2
([#339](#339))
([b46df8c](b46df8c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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