change ErrorHandler to Log

This commit is contained in:
Doug Bell 2010-10-27 12:50:12 -05:00
parent d11cd6f4f7
commit 199c4e4960
90 changed files with 311 additions and 311 deletions

View file

@ -42,7 +42,7 @@ sub _loadHelp {
my $helpPackage = shift;
eval { WebGUI::Pluggable::load( $helpPackage ); };
if ($@) {
$session->errorHandler->error("Help failed to compile: $helpPackage. ".$@);
$session->log->error("Help failed to compile: $helpPackage. ".$@);
return {};
}
if (defined *{"$helpPackage\::HELP"}) { ##Symbol table lookup
@ -153,7 +153,7 @@ sub _get {
return $help->{$id};
}
else {
$session->errorHandler->warn("Unable to load help for $namespace -> $id");
$session->log->warn("Unable to load help for $namespace -> $id");
return undef;
}
}