getsentry / raven-go

Sentry client in Go
https://sentry.io
BSD 3-Clause "New" or "Revised" License
561 stars 148 forks source link

error in stacktrace.go #225

Closed behzadsh closed 5 years ago

behzadsh commented 5 years ago

I get this error when I try to build my code

../../getsentry/raven-go/stacktrace.go:62:17: cannot convert f (type "github.com/pkg/errors".Frame) to type uintptr
runcom commented 5 years ago

same here

ManouchehrRasoulli commented 5 years ago

hi i resolve this problem its pretty simple :+1: open up the ../../getsentry/raven-go/stacktrace.go file get into line 61 and replace with this code

for f, _ := range stacktracer.StackTrace()

runcom commented 5 years ago

or stick to an older pkg/errors like this in your vendor:

+- package: github.com/pkg/errors
+  version: 645ef00459ed84a119197bfb8d8205042c6df63d
ManouchehrRasoulli commented 5 years ago

i haven't this error

loeffel-io commented 5 years ago

@ManouchehrRasoulli done in PR #226