Better curl fail error message