aboutsummaryrefslogtreecommitdiff
path: root/src/convert_json.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/convert_json.cpp')
-rw-r--r--src/convert_json.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/convert_json.cpp b/src/convert_json.cpp
index 7a69071ef..9b704aca6 100644
--- a/src/convert_json.cpp
+++ b/src/convert_json.cpp
@@ -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);
}