feat: switch from errors to fault
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M internal/fetcher/http/buf.go → internal/fetcher/http/buf.go
@@ -4,7 +4,7 @@ import ( "bufio" "io" - "gitlab.com/tozd/go/errors" + "github.com/Southclaws/fault" ) type Reader struct {@@ -20,5 +20,5 @@ } } func (r *Reader) Close() error { - return errors.WithStack(r.closer.Close()) + return fault.Wrap(r.closer.Close()) }