issues
search
teslamotors
/
ansible_puller
Ansible daemon for massively-scaleable Ansible
MIT License
129
stars
35
forks
source link
Ad-hoc style fixes on error annotations and error formatting
#31
Closed
shk3
closed
1 year ago
shk3
commented
1 year ago
Use errors.Wrapf which supports format strings.
Use fmt.Errorf to create an error with format string.
Wrap errors with annotations to help debugging:
https://google.github.io/styleguide/go/best-practices.html#adding-information-to-errors