[Server Plugins] Modified malformed log on error

This commit is contained in:
fermin831 2018-02-19 17:30:32 +01:00
parent 87ffae2d88
commit 6de87f7ce7
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 '') { 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); pandora_update_module_on_error ($pa_config, $module, $dbh);
return; return;
} }