Unify repository error handling #721
Labels
status/TODO
Categorizes issue as we will do it.
type/feature-request
Categorizes issue as related to a new feature.
Milestone
Feature Request
Currently, the repository handle errors inconsistent and
errors.AddStack
everywhere. It's considered bad behavior. We should unify all errors handling in the TiUP repository.Some initial suggestions:
errors.AddStack
should be applied to all 3rd/std library call siteserrors.Annotate
should be applied if some extra information should be attached.errors.AddStack
repeatedly.The text was updated successfully, but these errors were encountered: