Merge branch 'ent-11364-error-de-parseo-xml' into 'develop'
Change to reduce event text from XML parse error See merge request artica/pandorafms!6024
This commit is contained in:
commit
e3ef712e6f
|
@ -324,8 +324,8 @@ sub data_consumer ($$) {
|
|||
return;
|
||||
}
|
||||
|
||||
rename($file_name, $file_name . '_BADXML');
|
||||
pandora_event ($pa_config, "Unable to process XML data file '$file_name': $xml_err", 0, 0, 0, 0, 0, 'error', 0, $dbh);
|
||||
rename($file_name, $file_name.'_BADXML');
|
||||
pandora_event ($pa_config, "Unable to process XML data file '$task'.", 0, 0, 0, 0, 0, 'error', 0, $dbh);
|
||||
agent_unlock($pa_config, $agent_name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue