Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Return errors.Frame to a uintptr #193

Merged
merged 2 commits into from Jan 9, 2019
Merged

Return errors.Frame to a uintptr #193

merged 2 commits into from Jan 9, 2019

Conversation

davecheney
Copy link
Member

Updates aws/aws-xray-sdk-go#77
Updates evalphobia/logrus_sentry#74

Go 1.12 has updated the behaviour of runtime.FuncForPC so that it
behaves as it did in Go 1.11 and earlier.

This allows errors.Frame to return to a uintptr representing the PC +1
of the caller. This will fix the build breakages of projects that were
tracking HEAD of this package.

Signed-off-by: Dave Cheney dave@cheney.net

Updates aws/aws-xray-sdk-go#77
Updates evalphobia/logrus_sentry#74

Go 1.12 has updated the behaviour of runtime.FuncForPC so that it
behaves as it did in Go 1.11 and earlier.

This allows errors.Frame to return to a uintptr representing the PC +1
of the caller. This will fix the build breakages of projects that were
tracking HEAD of this package.

Signed-off-by: Dave Cheney <dave@cheney.net>
@davecheney davecheney added this to the 0.9 milestone Jan 9, 2019
@davecheney davecheney merged commit 565c8d0 into master Jan 9, 2019
@davecheney davecheney deleted the fixedbugs/188 branch January 9, 2019 04:57
arcana261 pushed a commit to arcana261/logrus_sentry that referenced this pull request Jan 9, 2019
A more recent [PR](pkg/errors#193) on pkg/errors
reverts usage of runtime.Frame after complaints about [breaking
change](pkg/errors#183).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant