Skip to content

Commit

Permalink
Add function name to NewStackTraceFrame call for updating to raven-go…
Browse files Browse the repository at this point in the history
… v0.1.1 (#66)
  • Loading branch information
sefasenturk95 authored and evalphobia committed Nov 29, 2018
1 parent b78b274 commit c462509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (hook *SentryHook) convertStackTrace(st errors.StackTrace) *raven.Stacktrac
pc := uintptr(stFrames[i])
fn := runtime.FuncForPC(pc)
file, line := fn.FileLine(pc)
frame := raven.NewStacktraceFrame(pc, file, line, stConfig.Context, stConfig.InAppPrefixes)
frame := raven.NewStacktraceFrame(pc, fn.Name(), file, line, stConfig.Context, stConfig.InAppPrefixes)
if frame != nil {
frames = append(frames, frame)
}
Expand Down

0 comments on commit c462509

Please sign in to comment.