mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Catch Value_Error exceptions too when parsing module data.
This commit is contained in:
parent
6105ed453e
commit
8acb459029
@ -526,7 +526,7 @@ Pandora_Module::getXml () {
|
||||
try {
|
||||
data_clean = strreplace (this->getDataOutput (data),
|
||||
"%", "%%" );
|
||||
} catch (Output_Error e) {
|
||||
} catch (Module_Exception e) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -538,7 +538,7 @@ Pandora_Module::getXml () {
|
||||
data_clean = strreplace (this->getDataOutput (data), "%", "%%" );
|
||||
module_xml += data_clean;
|
||||
|
||||
} catch (Output_Error e) {
|
||||
} catch (Module_Exception e) {
|
||||
}
|
||||
}
|
||||
module_xml += "]]></data></log_module>";
|
||||
@ -741,7 +741,7 @@ Pandora_Module::getXml () {
|
||||
try {
|
||||
data_clean = strreplace (this->getDataOutput (data),
|
||||
"%", "%%" );
|
||||
} catch (Output_Error e) {
|
||||
} catch (Module_Exception e) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -760,7 +760,7 @@ Pandora_Module::getXml () {
|
||||
module_xml += "\t<data><![CDATA[";
|
||||
module_xml += data_clean;
|
||||
module_xml += "]]></data>\n";
|
||||
} catch (Output_Error e) {
|
||||
} catch (Module_Exception e) {
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user