Which gourotine i should to log, when recovering from panic?
Example:
if err := recover(); err != nil {
stack := debug.Stack()
goroutines, _ := gostackparse.Parse(bytes.NewReader(stack))
log(goroutines[0]) // ?
}
Potentially, the number of goroutines can be more than one. Which one do I need to use to get the current call stack?