2025-07-03 Fred Gleason <fredg@paravelsystems.com>

* Added code in 'RDAudioImport' to log errors returned by CURL.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2025-07-03 09:35:03 -04:00
parent 2e921cb69d
commit 6b05dd5afa
2 changed files with 8 additions and 1 deletions

View File

@ -25014,3 +25014,5 @@
on CentOS 7.
2025-07-02 Fred Gleason <fredg@paravelsystems.com>
* Incremented the pacakge version to 4.3.0int12.
2025-07-03 Fred Gleason <fredg@paravelsystems.com>
* Added code in 'RDAudioImport' to log errors returned by CURL.

View File

@ -184,7 +184,12 @@ RDAudioImport::ErrorCode RDAudioImport::runImport(const QString &username,
//
// Send it
//
switch(curl_err=curl_easy_perform(curl)) {
curl_err=curl_easy_perform(curl);
if(curl_err!=CURLE_OK) {
rda->syslog(LOG_WARNING,"importer returned CURL error: %d [%s]\n",curl_err,
curl_easy_strerror(curl_err));
}
switch(curl_err) {
case CURLE_OK:
break;