You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your application panics in the main goroutine, it will reset the console before printing the stack trace. But if it panics in some random goroutine, this cannot be detected and the terminal will not be ready to print a proper stack trace. You'll have to catch those yourself and either promote them to the main goroutine or call Application.Stop() before printing the stack trace.
I'm working on a large and complex project, I'm looking for a way to close the app before a panic/crash in order to print the stack traces.
For the moment, the errors can't be displayed properly when there is a crash due to tview display.
The text was updated successfully, but these errors were encountered: