diff --git a/src/system/helpers.cpp b/src/system/helpers.cpp index 1a6b39c0c..afd73b4f0 100644 --- a/src/system/helpers.cpp +++ b/src/system/helpers.cpp @@ -1780,7 +1780,8 @@ bool getUrl(std::string& url, std::string& answer, std::string userAgent, unsign if (httpres != 0 || answer.empty()) { - dprintf(DEBUG_NORMAL, "getUrl: error: %s\n", cerror); + dprintf(DEBUG_NORMAL, "getUrl: error msg: %s\n", cerror); + dprintf(DEBUG_NORMAL, "getUrl: error url: %s\n", url.c_str()); return false; } @@ -1828,7 +1829,8 @@ bool downloadUrl(std::string url, std::string file, std::string userAgent, unsig if (httpres != 0) { - dprintf(DEBUG_NORMAL, "curl error: %s\n", cerror); + dprintf(DEBUG_NORMAL, "curl error msg: %s\n", cerror); + dprintf(DEBUG_NORMAL, "curl error url: %s\n", url.c_str()); unlink(file.c_str()); return false; }