Is this correct? What happens later if curl init has failed? How do we know this was the cause?

Better to fail early if possible.