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: details are optional in API errors #411

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

jooola
Copy link
Member

@jooola jooola commented Jul 3, 2024

The ansible integrations tests for certificate_info were silently failing because the details was missing from the API error.

https://dev.azure.com/ansible/hetzner.hcloud/_build/results?buildId=116526&view=logs&j=790943b1-2131-5e64-166b-e241853dcaf1&t=4ad41445-2459-50a0-f330-095184dc0a34&l=641

@jooola jooola requested a review from apricote July 3, 2024 11:14
@jooola
Copy link
Member Author

jooola commented Jul 3, 2024

This is unrelated to the v2 release.

@jooola jooola merged commit f1c6594 into hetznercloud:main Jul 3, 2024
10 checks passed
@jooola jooola deleted the error-details branch July 3, 2024 11:17
jooola pushed a commit that referenced this pull request Jul 3, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.0.1](v2.0.0...v2.0.1)
(2024-07-03)


### Bug Fixes

* `assignee_type` is required when creating a primary ip
([#409](#409))
([bce5e94](bce5e94))
* clean unused arguments in the `Client.servers.rebuild` method
([#407](#407))
([6d33c3c](6d33c3c))
* details are optional in API errors
([#411](#411))
([f1c6594](f1c6594))
* rename `trace_id` variable to `correlation_id`
([#408](#408))
([66a0f54](66a0f54))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Copy link

codecov bot commented Oct 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.94%. Comparing base (bce5e94) to head (e0ac02a).
Report is 30 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #411   +/-   ##
=======================================
  Coverage   92.94%   92.94%           
=======================================
  Files          64       64           
  Lines        2878     2878           
=======================================
  Hits         2675     2675           
  Misses        203      203           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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