mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-14 06:31:18 +02:00
Fixed regression in scheduler that caused events with two scheduler codes to fail.
Updated scheduler reports to indicate scheduler codes.
This commit is contained in:
@@ -200,7 +200,7 @@ int RDLogEvent::validate(QString *report,const QDate &date)
|
||||
// Report Header
|
||||
//
|
||||
*report="Rivendell Log Exception Report\n";
|
||||
*report=QString("Generated at: ")+
|
||||
*report+=QString("Generated at: ")+
|
||||
QDate::currentDate().toString("MM/dd/yyyy")+" - "+
|
||||
QTime::currentTime().toString("hh:mm:ss")+"\n";
|
||||
*report+=QString("Log: ")+log_name+"\n";
|
||||
@@ -277,10 +277,10 @@ int RDLogEvent::validate(QString *report,const QDate &date)
|
||||
}
|
||||
*report+="\n";
|
||||
if(errs==1) {
|
||||
*report+=QString().sprintf("%d exception found.\n\n",errs);
|
||||
*report+=QString().sprintf("%d validation exception found.\n\n",errs);
|
||||
}
|
||||
else {
|
||||
*report+=QString().sprintf("%d exceptions found.\n\n",errs);
|
||||
*report+=QString().sprintf("%d validation exceptions found.\n\n",errs);
|
||||
}
|
||||
return errs;
|
||||
}
|
||||
|
Reference in New Issue
Block a user