mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2021-08-03 Fred Gleason <fredg@paravelsystems.com>
* Added an error message to syslog if the 'Load Log' ['LL'] RML fails to find the specified log. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -22144,3 +22144,6 @@
|
||||
or editing.
|
||||
2021-08-03 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Updated I18N translation data.
|
||||
2021-08-03 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added an error message to syslog if the 'Load Log' ['LL'] RML
|
||||
fails to find the specified log.
|
||||
|
@@ -119,6 +119,8 @@ void MainWidget::RunLocalMacros(RDMacro *rml)
|
||||
else { // Load Log
|
||||
logname=rml->arg(1);
|
||||
if(!RDLog::exists(logname)) {
|
||||
rda->syslog(LOG_WARNING,"unable to load log \"%s\", no such log",
|
||||
logname.toUtf8().constData());
|
||||
if(rml->echoRequested()) {
|
||||
rml->acknowledge(false);
|
||||
rda->ripc()->sendRml(rml);
|
||||
|
Reference in New Issue
Block a user