From 6fd1ce2df89d0420b458d182287d72614e551f60 Mon Sep 17 00:00:00 2001 From: Gareth Healy Date: Wed, 21 Apr 2021 20:27:49 +0100 Subject: [PATCH] Added releaseName to error returned on gh failure (#119) Signed-off-by: garethahealy --- pkg/releaser/releaser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/releaser/releaser.go b/pkg/releaser/releaser.go index 29d1d39a..f478edf3 100644 --- a/pkg/releaser/releaser.go +++ b/pkg/releaser/releaser.go @@ -337,7 +337,7 @@ func (r *Releaser) CreateReleases() error { } } if err := r.github.CreateRelease(context.TODO(), release); err != nil { - return errors.Wrap(err, "error creating GitHub release") + return errors.Wrapf(err, "error creating GitHub release %s", releaseName) } }