From: Barijaona Ramaholimihaso Date: Wed, 19 Sep 2007 04:10:15 +0000 (+0000) Subject: More explicit warning if a plugin fails to load X-Git-Tag: debian/2.1.2-2~101 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=27f7b38a770074a5906af933a9e41a6dbe7ce8a9;p=pkg%2Fblosxom.git More explicit warning if a plugin fails to load --- diff --git a/blosxom.cgi b/blosxom.cgi index 0223024..0182001 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -241,7 +241,7 @@ foreach my $plugin ( @plugin_list ) { else { eval { require $plugin }; } - $@ and warn "error finding or loading blosxom plugin $plugin_name - skipping\n" and next; + $@ and warn "$@ error finding or loading blosxom plugin $plugin_name - skipping\n" and next; $plugin_name->start() and ( $plugins{$plugin_name} = $on_off ) and push @plugins, $plugin_name; } shift @INC foreach @plugin_dirs;