fix for error.Is false return

This commit is contained in:
zy9ard3 2025-08-26 10:48:10 +05:30 committed by GitHub
parent 5b7debf349
commit 1f0aef970c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -191,7 +191,7 @@ func (ctr *customTemplateGitHubRepo) pullChanges(repoPath, githubToken string) e
err = w.Pull(pullOpts) err = w.Pull(pullOpts)
if err != nil { 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 return nil