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: do not pass nil error to error handler #145

Merged
merged 2 commits into from
Jan 9, 2024
Merged

Conversation

jooola
Copy link
Member

@jooola jooola commented Jan 8, 2024

During the previous error handling refactor, we missed some parts where no error was generated, but still use it.

@jooola jooola requested a review from a team as a code owner January 8, 2024 15:13
Copy link

codecov bot commented Jan 8, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (0bc73eb) 27.28% compared to head (8f4d9c9) 27.33%.

Files Patch % Lines
builder/hcloud/step_create_server.go 0.00% 2 Missing ⚠️
builder/hcloud/step_pre_validate.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #145      +/-   ##
==========================================
+ Coverage   27.28%   27.33%   +0.04%     
==========================================
  Files          11       11              
  Lines         612      611       -1     
==========================================
  Hits          167      167              
+ Misses        424      423       -1     
  Partials       21       21              

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

@jooola jooola merged commit e742263 into main Jan 9, 2024
10 checks passed
@jooola jooola deleted the fix-error-when-not-found branch January 9, 2024 12:10
jooola pushed a commit that referenced this pull request Jan 12, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.3.0](v1.2.1...v1.3.0)
(2024-01-09)


### Features

* add labels options to server and ssh keys
([#128](#128))
([3f7dcae](3f7dcae))
* use existing IP for server create
([#144](#144))
([1ebdfe7](1ebdfe7))


### Bug Fixes

* do not pass nil error to error handler
([#145](#145))
([e742263](e742263))
* improve logs messages and error handling
([#139](#139))
([2f2bcf1](2f2bcf1))
* improve missing hcloud token error
([#138](#138))
([e47f476](e47f476))

---
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