Stop curl from printing error messages, and include a proper error message instead.
Clean up some breadcrumbs