Skip to content

Commit

Permalink
Item13574: Don't log errors for missing Module definitions
Browse files Browse the repository at this point in the history
unless DEBUG is enabled.
  • Loading branch information
gac410 committed Jul 29, 2015
1 parent be40e03 commit 8056fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Plugin.pm
Expand Up @@ -100,7 +100,7 @@ sub new {
push(
@{ $this->{errors} },
"$p has been guessed. '\$Foswiki::cfg{Plugins}{$name}{Module}' should be defined in LocalSite.cfg"
);
) if DEBUG;
}

eval "use $p";
Expand Down

0 comments on commit 8056fc0

Please sign in to comment.