mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Masterserver mods announse, ipv6, better curl errors
This commit is contained in:
@@ -59,7 +59,7 @@ Json::Value fetchJsonValue(const std::string url,
|
||||
|
||||
res = curl_easy_perform(curl);
|
||||
if (res != CURLE_OK)
|
||||
errorstream<<"Jsonreader: "<< url <<" not found (internet connection?)"<<std::endl;
|
||||
errorstream<<"Jsonreader: "<< url <<" not found (" << curl_easy_strerror(res) << ")" <<std::endl;
|
||||
curl_easy_cleanup(curl);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user