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:
parent
00451a0cbd
commit
6c93bf439f
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue