2008-07-08 Sancho Lerena <slerena@gmail.com>

* pandora_server: An event is generated if a BAD XML is detected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@939 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2008-07-08 04:30:56 +00:00
parent 00451a0cbd
commit 6c93bf439f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-07-08 Sancho Lerena <slerena@gmail.com>
* pandora_server: An event is generated if a BAD XML is detected.
2008-07-06 Sancho Lerena <slerena@gmail.com>
* pandora_network: Added a patch from godzone-nz, to implement

View File

@ -241,6 +241,10 @@ sub pandora_data_consumer ($$) {
delete($active_task_hash{$file_name});
delete($incomplete_task_hash{$file_name});
rename($file, $file . "_BADXML");
# Create event
pandora_event ($pa_config, "Unable to process XML data file ($file)", 0, 0, 0, 0, 0, 'error', $dbh);
}
}