diff --git a/pandora_agents/unix/pandora_agent b/pandora_agents/unix/pandora_agent index d7a12f027a..2222847315 100755 --- a/pandora_agents/unix/pandora_agent +++ b/pandora_agents/unix/pandora_agent @@ -3749,6 +3749,7 @@ sub module_plugin ($) { # Do not save the output if there was an error if ($? != 0) { + log_message ('error', "plugin execution '". $command ."' exited with error code " . $?); return (); }