The specification has added a RecordException method to the API Span. This is to record things like a Go panic as a Span event.
We currently only have a RecordError method on the Span. This method is not something specified in the specification and doesn't seem suited to record a runtime.Stack.
Should the RecordError method be removed?
Should we add a method that helps in panic recovery? Possibly something that can be deferred and adds an event if a panic is occuring.