report module loading errors to apache log during preload
This commit is contained in:
parent
0dd8cf75e2
commit
a94c7b1a4b
2 changed files with 5 additions and 2 deletions
|
|
@ -38,6 +38,7 @@
|
||||||
- fix: Fixed SyncProfileToLDAP workflow activity to properly sync if RDN does not match DN
|
- fix: Fixed SyncProfileToLDAP workflow activity to properly sync if RDN does not match DN
|
||||||
- fix: SQL Report download link doesn't include form parameters
|
- fix: SQL Report download link doesn't include form parameters
|
||||||
- fix: Errors generated in webgui.log when viewing last thread
|
- fix: Errors generated in webgui.log when viewing last thread
|
||||||
|
- Report errors on loading modules to Apache log during preload
|
||||||
|
|
||||||
7.4.5
|
7.4.5
|
||||||
- fix: Apostrophy incorrectly escaped as double quote in some places
|
- fix: Apostrophy incorrectly escaped as double quote in some places
|
||||||
|
|
|
||||||
|
|
@ -68,8 +68,10 @@ foreach my $lib (@{$customLibs}) {
|
||||||
File::Find::find(\&getWebGUIModules, @folders);
|
File::Find::find(\&getWebGUIModules, @folders);
|
||||||
foreach my $package (@modules) {
|
foreach my $package (@modules) {
|
||||||
next if (WebGUI::Utility::isIn($package,@excludes));
|
next if (WebGUI::Utility::isIn($package,@excludes));
|
||||||
my $use = "use ".$package." ()";
|
(my $file = "$package.pm") =~ s{::|'}{/}g;
|
||||||
eval($use);
|
if (!eval { require $file; 1 }) {
|
||||||
|
warn "Error loading $package! - $@";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
use Apache2::ServerUtil ();
|
use Apache2::ServerUtil ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue