replace tozd/errors with Southclaws/fault
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M templates/layout.go → templates/layout.go
@@ -3,8 +3,8 @@ import ( "io" + "github.com/Southclaws/fault" "github.com/alanpearce/htmlformat" - "gitlab.com/tozd/go/errors" "go.alanpearce.eu/homestead/internal/config" g "go.alanpearce.eu/gomponents"@@ -123,7 +123,7 @@ pw.CloseWithError(doc.Render(pw)) }() if err := htmlformat.Document(w, pr); err != nil { - return errors.WithStack(err) + return fault.Wrap(err) } return nil