look at CurlCode for error message

--HG--
extra : histedit_source : 158799b451a2e114c79b2f3a8df69253b27f7229%2C46a71e0f9e517ccc6a768c634323c353b4b9ce3a