Merge branch 'ent-1929-error-en-los-logs-de-Plugin-server' into 'develop'

[Server Plugins] Modified malformed log on error

See merge request artica/pandorafms!1306
This commit is contained in:
vgilc 2018-02-26 10:35:13 +01:00
commit 913e140d03
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ sub data_consumer ($$) {
}
if (! defined $module_data || $module_data eq '') {
logger ($pa_config,"[ERROR] Undefined value returned by plug-in module " . $agent->{'nombre'} . " agent " . $agent->{'nombre'} . ". Is the server out of memory?" , 3);
logger ($pa_config,"[ERROR] Undefined value returned by plug-in module " . $module->{'nombre'} . " agent " . $agent->{'nombre'} . ". Is the server out of memory?" , 3);
pandora_update_module_on_error ($pa_config, $module, $dbh);
return;
}