Skip to content

Commit

Permalink
Added releaseName to error returned on gh failure (#119)
Browse files Browse the repository at this point in the history
Signed-off-by: garethahealy <garethahealy@gmail.com>
  • Loading branch information
garethahealy committed Apr 21, 2021
1 parent 30eafb2 commit 6fd1ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/releaser/releaser.go
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 6fd1ce2

Please sign in to comment.