The handleError method in opentelemetry.autoinstrument.AutoTrace accepts an exception object as input. It currently only captures the exception message in the span status, but ignores the rest of the exception object.
Consider capturing the rest of the exception message (identifier, stack, cause, correction) in a event of the current span or a log.