I just removed the is_ec2 and changed the first error to return NotEc2, so we would return a nice error in cases where the endpoint is not present at all.
@droundy not sure about the change, the send can likely fail for a number of reasons, and always mapping it to EC2 seems worse then what is currently there
I just removed the
is_ec2
and changed the first error to returnNotEc2
, so we would return a nice error in cases where the endpoint is not present at all.