update for curl error message