Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build _examples/http since v0.20.0 #620

Closed
kei2100 opened this issue Apr 4, 2023 · 1 comment · Fixed by #621
Closed

Can't build _examples/http since v0.20.0 #620

kei2100 opened this issue Apr 4, 2023 · 1 comment · Fixed by #621
Assignees

Comments

@kei2100
Copy link

kei2100 commented Apr 4, 2023

Summary

Since Scope.SetTransaction() was removed in issue #605, building the _examples/http now fails.

Steps To Reproduce

$ git clone https://github.com/getsentry/sentry-go
$ cd sentry-go
$ git checkout refs/tags/v0.20.0
$ cd _examples/http/
$ go build
# github.com/getsentry/sentry-go/_examples/http
./main.go:109:15: hub.Scope().SetTransaction undefined (type *sentry.Scope has no field or method SetTransaction)
@cleptric
Copy link
Member

cleptric commented Apr 4, 2023

Thanks for letting us know about this. Fixed in #621 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants