Ensure we have an exception and capture the exc_info.