diff options
-rw-r--r-- | input_gadgets.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/input_gadgets.c b/input_gadgets.c index ab5d448..b1d2619 100644 --- a/input_gadgets.c +++ b/input_gadgets.c @@ -382,7 +382,12 @@ char *gadgets_retrieve_weather_warnings(char *output, int max_len) res = curl_easy_perform(curl_handle); curl_easy_cleanup(curl_handle); if (res != CURLE_OK) { - fprintf(stderr, "curl_easy_perform() failed: %s\n", curl_easy_strerror(res)); + fprintf( + stderr, + "curl_easy_perform(%s) failed: %s\n", + "https://opendata.dwd.de/weather/alerts/cap/COMMUNEUNION_DWD_STAT/Z_CAP_C_EDZW_LATEST_PVW_STATUS_PREMIUMDWD_COMMUNEUNION_DE.zip", + curl_easy_strerror(res) + ); free(chunk.memory); return NULL; } |