Print module and agent information when plugin execution fails. Fixes ticket #1293
This commit is contained in:
parent
14fa3116f0
commit
27040239f9
|
@ -286,7 +286,7 @@ sub data_consumer ($$) {
|
|||
}
|
||||
|
||||
if (! defined $module_data || $module_data eq '') {
|
||||
logger ($pa_config,"[ERROR] Undefined value returned by Plugin query. Is the server out of memory?" , 0);
|
||||
logger ($pa_config,"[ERROR] Undefined value returned by plug-in module " . $agent->{'nombre'} . " agent " . $agent->{'nombre'} . ". Is the server out of memory?" , 3);
|
||||
pandora_update_module_on_error ($pa_config, $module, $dbh);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue