Let callers handle errors #204
Labels
A-errors
Area: error handling needs improvement
C-enhancement
Category: New feature or request
C-refactor
Category: Refactoring of already existing code
If we encounter an error, we should return an error and let the caller handle it. In the following code example, we encounter errors, but instead of returning them as such, we are returning
Ok(())
and logging an error. IMHO, logging it is fine, but we should also return an Error in case of encountering one. We should fix that all over the code base.src.: check header
The text was updated successfully, but these errors were encountered: