增加拍照失败日志

streaming
XI.CHEN 4 months ago
parent 101c8f41a4
commit 50adc38110

@ -108,7 +108,8 @@ int DoGetRequest(const char* url, int authType, const char* userName, const char
} }
else else
{ {
XYLOG(XYLOG_SEVERITY_WARNING, "Net Photo failure, nRet=%d", (int)nRet); curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &responseCode);
XYLOG(XYLOG_SEVERITY_WARNING, "Net Photo failure, nRet=%d, code=%d", (int)nRet, (int)responseCode);
// printf("GET err=%d", nRet); // printf("GET err=%d", nRet);
} }
curl_easy_cleanup(curl); curl_easy_cleanup(curl);

Loading…
Cancel
Save