fixed problem with warn callback

This commit is contained in:
Doug Bell 2008-10-31 20:18:59 +00:00
parent 9c81262d07
commit ccb0442ba5

View file

@ -42,7 +42,7 @@ push @excludes, readLines($webguiRoot."/sbin/preload.exclude");
WebGUI::Pluggable::findAndLoad( "WebGUI",
{
exclude => \@excludes,
onLoadFail => sub { warn 'Error loading %s: %s', @_ },
onLoadFail => sub { warn sprintf 'Error loading %s: %s', @_ },
}
);