CapturePanic for goroutines
Hey!
Is there a way to add a global panic handler? Using CapturePanic limits the scope to the current go routine. A cursory search seems to indicate nothing in Go allows one to install such a handler.
Another option would be to provide an integration similar to panicwrap.
I too am facing this issue. While panicwrap does capture panics, the data sent to Sentry via the panicwrap handler is incorrect.
The panic message shown in Sentry includes the original panic message, along with the stack trace. The stack trace shown in Sentry is simply the stack trace of the parent process, ie. from the panicwrap handler, and doesn't show the actual stack trace in which the panic originated.
Still looking for a solution for this.