mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2022-11-17 Fred Gleason <fredg@paravelsystems.com>
* Simplified error return descriptions for the podcast methods in the Web API. * Removed the 'RDFeed::Error' enumeration. * Removed the 'RDFeed::errorString()' method. * Fixed bugs in rdcatchd(8) in handling errors when posting to RSS feeds. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -276,8 +276,7 @@ void Xport::PostPodcast()
|
||||
delete upload;
|
||||
delete feed;
|
||||
delete cast;
|
||||
XmlExit(QString("Upload to \"")+desturl+"\" failed ["+err_msg+"]",500,
|
||||
"podcasts.cpp",LINE_NUMBER);
|
||||
XmlExit(err_msg,500,"podcasts.cpp",LINE_NUMBER);
|
||||
}
|
||||
delete upload;
|
||||
|
||||
@@ -335,8 +334,7 @@ void Xport::RemovePodcast()
|
||||
delete del;
|
||||
delete feed;
|
||||
delete cast;
|
||||
XmlExit(QString("Deletion of \"")+desturl+"\" failed ["+
|
||||
RDDelete::errorText(del_err)+"]",500,"podcasts.cpp",LINE_NUMBER);
|
||||
XmlExit(RDDelete::errorText(del_err),500,"podcasts.cpp",LINE_NUMBER);
|
||||
}
|
||||
delete del;
|
||||
|
||||
@@ -531,8 +529,7 @@ void Xport::RemoveRss()
|
||||
rda->config()->logXloadDebugData()))!=RDDelete::ErrorOk) {
|
||||
delete del;
|
||||
delete feed;
|
||||
XmlExit(QString("Deletion of \"")+desturl+"\" failed ["+
|
||||
RDDelete::errorText(del_err)+"]",500,"podcasts.cpp",LINE_NUMBER);
|
||||
XmlExit(RDDelete::errorText(del_err),500,"podcasts.cpp",LINE_NUMBER);
|
||||
}
|
||||
delete del;
|
||||
|
||||
@@ -715,8 +712,7 @@ void Xport::RemoveImage()
|
||||
rda->config()->logXloadDebugData()))!=RDDelete::ErrorOk) {
|
||||
delete del;
|
||||
delete feed;
|
||||
XmlExit(QString("Deletion of image \"")+desturl+"\" failed ["+
|
||||
RDDelete::errorText(del_err)+"]",500,"podcasts.cpp",LINE_NUMBER);
|
||||
XmlExit(RDDelete::errorText(del_err),500,"podcasts.cpp",LINE_NUMBER);
|
||||
}
|
||||
delete del;
|
||||
|
||||
|
Reference in New Issue
Block a user