getsentry / raven-go

Sentry client in Go
https://sentry.io
BSD 3-Clause "New" or "Revised" License
561 stars 148 forks source link

Allow record panic arg manually #239

Open aight8 opened 5 years ago

aight8 commented 5 years ago

Currently I send it this way:

raven.CapturePanicAndWait(func() {
   panic(r)
}, nil, nil)

Because I have my own handler which also log the panic to the stdout etc. If I let handle it only by raven (CapturePanicAndWait) It's not possible.