We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Which gourotine i should to log, when recovering from panic?
Example:
Potentially, the number of goroutines can be more than one. Which one do I need to use to get the current call stack?
The text was updated successfully, but these errors were encountered: