Closed marvell closed 6 years ago
This code fixes a bug when a stacktrace builds from anonymous function. For example,
package main func main() { func(){ raven.NewStacktrace(0, 3, nil) }() }
pack will be main.main and func will be func1, but should main and main.func1.
pack
main.main
func
func1
main
main.func1
Guys, please, merge this MR.
@mitsuhiko please, take a look on it.
lgtk. Thanks!
This code fixes a bug when a stacktrace builds from anonymous function. For example,
pack
will bemain.main
andfunc
will befunc1
, but shouldmain
andmain.func1
.