mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Print module and agent information when plugin execution fails. Fixes ticket #1293
This commit is contained in:
parent
72257865b5
commit
ad9fccd499
@ -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…
x
Reference in New Issue
Block a user