Closed alexflint closed 5 years ago
In RecoveryHandler, raven does the following:
RecoveryHandler
if rval := recover(); rval != nil { ... ... GetOrNewStackTrace(rval.(error), ...) }
However, panics can be represented by any interface{} in go, and this code actually causes another panic if a panic is not represented by an error.
interface{}
I think this has been fixed. https://github.com/getsentry/raven-go/commit/ba97302481f2659d9ae93288e422acb942093b26
In
RecoveryHandler
, raven does the following:However, panics can be represented by any
interface{}
in go, and this code actually causes another panic if a panic is not represented by an error.