Closed
Description
Is your feature request related to a problem?
As a developer
I want to react to all thrown errors
so that I can do the proper cleanup in case something goes wrong.
Provide a detailed description of the proposed feature
The error that may or may not be produced should be fixed in a way that we return a slice of errors that contains both the error from the function body and the deferred function.
cobblerclient/cobblerclient.go
Lines 81 to 91 in 729746b
Alternatives you've considered
None
Additional information
Blog article describing the whys and hows: https://trstringer.com/golang-deferred-function-error-handling/
Metadata
Metadata
Assignees
Type
Projects
Status
Done