Make the timeout error message more user friendly.

This commit is contained in:
Ramon Novoa 2022-02-02 17:32:28 +01:00
parent 28a3687bfa
commit 54171e56e7
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ sub data_consumer ($$) {
} else {
# Timeout.
if ($ReturnCode == 124 || $ReturnCode == 137) {
logger($pa_config, "Plug-in module with ID #" . $module_id . " timed out.", 3);
logger($pa_config, "Plug-in module " . $module->{'nombre'} . " for agent " . $agent->{'nombre'} . " timed out.", 3);
pandora_update_module_on_error ($pa_config, $module, $dbh);
return;
}