fix: surface the original analysis error instead of context cancellation (#10793)