5923 log error messages to error log

This commit is contained in:
William Schaefer 2020-01-06 16:18:57 -05:00
parent c1e6c57fbe
commit d3079062c8

View File

@ -47,14 +47,14 @@ sub pluginmain {
my $arch = $env->get_value("PROCESSOR_ARCHITECTURE")->get_data(); my $arch = $env->get_value("PROCESSOR_ARCHITECTURE")->get_data();
::rptMsg("<ProcessorArchitecture><mtime></mtime><artifacts><architecture mtime=\"\">" . $arch . "</architecture></artifacts></ProcessorArchitecture>"); ::rptMsg("<ProcessorArchitecture><mtime></mtime><artifacts><architecture mtime=\"\">" . $arch . "</architecture></artifacts></ProcessorArchitecture>");
}; };
::logMsg($@) if ($@);
} }
else { else {
::rptMsg($env_path." not found."); ::logMsg($env_path." not found.");
} }
} }
else { else {
::rptMsg($key_path." not found."); ::logMsg($key_path." not found.");
#::logMsg($key_path." not found."); #::logMsg($key_path." not found.");
} }
} }