From 1f0aef970ca4ad2133452ce6558172b58d95f115 Mon Sep 17 00:00:00 2001 From: zy9ard3 <67743789+zy9ard3@users.noreply.github.com> Date: Tue, 26 Aug 2025 10:48:10 +0530 Subject: [PATCH] fix for error.Is false return --- pkg/external/customtemplates/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/external/customtemplates/github.go b/pkg/external/customtemplates/github.go index f6fc474ef..499649494 100644 --- a/pkg/external/customtemplates/github.go +++ b/pkg/external/customtemplates/github.go @@ -191,7 +191,7 @@ func (ctr *customTemplateGitHubRepo) pullChanges(repoPath, githubToken string) e err = w.Pull(pullOpts) if err != nil { - return errors.Errorf("%s/%s: %s", ctr.owner, ctr.reponame, err.Error()) + return errors.Wrapf(err, "%s/%s", ctr.owner, ctr.reponame) } return nil