display curl error on fatal exception