diff --git a/ChangeLog b/ChangeLog index 094a8fe6..99ec83b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17642,6 +17642,7 @@ 2018-09-20 Fred Gleason * Corrected an omission in the documentation of the 'Start Button' ['PB'] RML. +<<<<<<< HEAD 2018-10-01 Fred Gleason * Applied a PR from Patrick Linstruth that fixed a regression where the 'Stop' button would fail to function @@ -17773,3 +17774,5 @@ * Replaced listings of the 'rd_cut' structure with a reference to the rd_listcartcuts(7) man page in the rd_listcut(7) and rd_listcuts(7) man pages. +2018-10-04 Patrick Linstruth + * Added exit logging to rdxport.cgi. diff --git a/web/rdxport/rdxport.cpp b/web/rdxport/rdxport.cpp index 68ffe418..72215bb7 100644 --- a/web/rdxport/rdxport.cpp +++ b/web/rdxport/rdxport.cpp @@ -447,6 +447,10 @@ void Xport::XmlExit(const QString &str,int code,const QString &srcfile, if(xport_post!=NULL) { delete xport_post; } + if(code>=400) { + rda->log(RDConfig::LogErr,QString().sprintf("%s '%s' %s",(const char *)str,(const char *)srcfile, + (srcline>0)?(const char *)QString().sprintf("line %d",srcline):"")); + } #ifdef RDXPORT_DEBUG if(srcline>0) { RDXMLResult(str+" \""+srcfile+"\" "+QString().sprintf("line %d",srcline),